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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4421d101e612816dce7b36c9804ed26db05098a6
4
- data.tar.gz: 2b113781c38799bf2eab2965e33bea31d844bca7
3
+ metadata.gz: 6a53b0ecef37e18b161c3dc99f7373b656ef3bdf
4
+ data.tar.gz: 25895bec64e89d0eeaccd689af80ffd85662f0fe
5
5
  SHA512:
6
- metadata.gz: 9e6a6eee8d2c4fe0750e1394c40c5907d5497d6fa0b54013ae7617989f196a44fa67b08c62813d6f3b56536d97c43d26cfbe784919af325645c8e1ad8921077e
7
- data.tar.gz: 7696b53efb3328a2ecdf465d53c313eef3e1f1bcd6d7aba196fa8a7afd697c078f8db4cba011ce48fb6c912904bc2608584f01feca80b15d3838c847cf8f1489
6
+ metadata.gz: f8ce0cb9f6e8f4c5dc7006bf2567a3937f77676352614b907db399b059db1bc0b4de5181d5a612b9c14aff28db8e0418173ee91c9de3ba6e35b5cf3f1de07593
7
+ data.tar.gz: 8d67227bfbcf5cf82b50483760370a71032109af5d8e5278302a803ad15f6e7f59e15e7e2b5e371abea904482a4bd39c6930733594300a8e3a4e18ad3883e685
data/.DS_Store ADDED
Binary file
@@ -0,0 +1,5 @@
1
+ <button class="btn btn-success btn-lg">
2
+ submit</button>
3
+ <button class="btn btn-success btn-lg">
4
+ submit</button>
5
+ <!--recursive page loading deteced, ignore.-->
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
- BOOTSTRAP_FLATY="https://bootswatch.com/4/flatly/bootstrap.min.css"
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
@@ -3,7 +3,7 @@ require 'slight/engine'
3
3
  module Slight
4
4
  # Slight version string
5
5
  # @api public
6
- VERSION = '1.3.0'
6
+ VERSION = '1.3.1'
7
7
  # 1.0.0 => Basic Template features | 201703
8
8
  # 1.0.5 => Support Tilt | 201704
9
9
  # 1.1.0 => Doc Update | 201705
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.0
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