slight-lang 1.3.0 → 1.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.DS_Store +0 -0
- data/example/component.htm +5 -0
- data/example/index.htm +30 -0
- data/lib/slight/const.rb +3 -1
- data/lib/slight.rb +1 -1
- metadata +4 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6a53b0ecef37e18b161c3dc99f7373b656ef3bdf
|
4
|
+
data.tar.gz: 25895bec64e89d0eeaccd689af80ffd85662f0fe
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f8ce0cb9f6e8f4c5dc7006bf2567a3937f77676352614b907db399b059db1bc0b4de5181d5a612b9c14aff28db8e0418173ee91c9de3ba6e35b5cf3f1de07593
|
7
|
+
data.tar.gz: 8d67227bfbcf5cf82b50483760370a71032109af5d8e5278302a803ad15f6e7f59e15e7e2b5e371abea904482a4bd39c6930733594300a8e3a4e18ad3883e685
|
data/.DS_Store
ADDED
Binary file
|
data/example/index.htm
ADDED
@@ -0,0 +1,30 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<title>Example</title>
|
5
|
+
<link rel="stylesheet" href="resource/css/bootstrap.css"></link>
|
6
|
+
<script type="text/javascript" src="resource/script/jquery.js"></script>
|
7
|
+
</head>
|
8
|
+
<body>
|
9
|
+
<div class="panel">
|
10
|
+
<nav class="nav nav-pill" id="NavMenu" style="color: red">
|
11
|
+
<img src="resource/images/icon1.png"/>
|
12
|
+
</nav>
|
13
|
+
</div>
|
14
|
+
<div style="border 1 bold blue">
|
15
|
+
<button class="btn btn-success btn-lg">
|
16
|
+
submit</button>
|
17
|
+
<!--recursive page loading deteced, ignore.--></div>
|
18
|
+
<div style="border 1 bold green">
|
19
|
+
<button class="btn btn-success btn-lg">
|
20
|
+
submit</button>
|
21
|
+
<!--recursive page loading deteced, ignore.--></div>
|
22
|
+
<br/>
|
23
|
+
</body>
|
24
|
+
<script language="javascript">
|
25
|
+
|
26
|
+
let a =1;
|
27
|
+
console.log(a);
|
28
|
+
|
29
|
+
</script>
|
30
|
+
</html>
|
data/lib/slight/const.rb
CHANGED
@@ -3,11 +3,13 @@ VUEJS="https://vuejs.org/js/vue.min.js"
|
|
3
3
|
BOOTSTRAPJS="https://bootswatch.com/_vendor/bootstrap/dist/js/bootstrap.min.js"
|
4
4
|
BOOTSTRAPJS_DEV="https://bootswatch.com/_vendor/bootstrap/dist/js/bootstrap.js"
|
5
5
|
JQUERY="https://bootswatch.com/_vendor/jquery/dist/jquery.min.js"
|
6
|
+
D3JS="https://d3js.org/d3.v4.min.js"
|
6
7
|
|
7
|
-
|
8
|
+
BOOTSTRAP_FLATLY="https://bootswatch.com/4/flatly/bootstrap.min.css"
|
8
9
|
BOOTSTRAP_UNITED="https://bootswatch.com/4/united/bootstrap.min.css"
|
9
10
|
BOOTSTRAP="https://bootswatch.com/_vendor/bootstrap/dist/css/bootstrap.min.css"
|
10
11
|
BOOTSTRAP_LUX="https://bootswatch.com/4/lux/bootstrap.min.css"
|
11
12
|
BOOTSTRAP_SANDSTONE="https://bootswatch.com/4/sandstone/bootstrap.min.css"
|
12
13
|
BOOTSTRAP_SLATE="https://bootswatch.com/4/slate/bootstrap.min.css"
|
14
|
+
BOOTSTRAP_JOURNAL="https://bootswatch.com/4/journal/bootstrap.css"
|
13
15
|
|
data/lib/slight.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: slight-lang
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.3.
|
4
|
+
version: 1.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- oliver.yu
|
@@ -19,6 +19,7 @@ executables:
|
|
19
19
|
extensions: []
|
20
20
|
extra_rdoc_files: []
|
21
21
|
files:
|
22
|
+
- ".DS_Store"
|
22
23
|
- ".gitignore"
|
23
24
|
- Gemfile
|
24
25
|
- LICENSE
|
@@ -27,10 +28,12 @@ files:
|
|
27
28
|
- bin/repl/utils.rb
|
28
29
|
- bin/slight
|
29
30
|
- bin/slsh
|
31
|
+
- example/component.htm
|
30
32
|
- example/component.slight.rb
|
31
33
|
- example/core.rb
|
32
34
|
- example/custom_engine.rb
|
33
35
|
- example/default_engine.rb
|
36
|
+
- example/index.htm
|
34
37
|
- example/index.slight.rb
|
35
38
|
- example/tilt_example.rb
|
36
39
|
- lib/slight.rb
|