tao_on_rails 0.5.2 → 0.5.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.blade.yml +3 -5
- data/dist/tao.js +6 -1
- data/lib/assets/javascripts/tao/application.coffee +1 -1
- data/lib/assets/javascripts/tao/module.coffee +3 -0
- data/lib/tao_on_rails/rails/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b26d706bce178808560079b9a49cf74f9d02edda
|
4
|
+
data.tar.gz: f4a587651da8c33d9f91d6d4bce10716e2033f65
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 377902a5aa7a3e1a4cfafe8018068ef8d6a1a677fceb2f72bd52c75aec744f90e990a63242cb2e9c7f748473668d1854296dce5fd57c0da5a2ce9ec50f3961e6
|
7
|
+
data.tar.gz: 77544f7194501a644404642de1c6ddbb4d74f5a120af18e46821f74814fcd95f23e11b314a454ebbc01d33899834b0c6e432bea15fc7f6bfc857a1a96ebf8e23
|
data/.blade.yml
CHANGED
@@ -25,15 +25,13 @@ plugins:
|
|
25
25
|
browsers:
|
26
26
|
Google Chrome:
|
27
27
|
os: Mac, Windows
|
28
|
-
version: -
|
28
|
+
version: -1
|
29
29
|
Firefox:
|
30
30
|
os: Mac, Windows
|
31
|
-
version: -
|
31
|
+
version: -1
|
32
32
|
Safari:
|
33
33
|
platform: Mac
|
34
|
-
version: -
|
35
|
-
Microsoft Edge:
|
36
|
-
version: -2
|
34
|
+
version: -1
|
37
35
|
iPhone:
|
38
36
|
version: [9.3]
|
39
37
|
Motorola Droid 4 Emulator:
|
data/dist/tao.js
CHANGED
@@ -27712,6 +27712,10 @@ return jQuery;
|
|
27712
27712
|
slice = [].slice;
|
27713
27713
|
|
27714
27714
|
TaoModule = (function() {
|
27715
|
+
var id;
|
27716
|
+
|
27717
|
+
id = 0;
|
27718
|
+
|
27715
27719
|
TaoModule.extend = function(obj) {
|
27716
27720
|
var key, ref, val;
|
27717
27721
|
if (!(obj && typeof obj === 'object')) {
|
@@ -27793,6 +27797,7 @@ return jQuery;
|
|
27793
27797
|
if (options == null) {
|
27794
27798
|
options = {};
|
27795
27799
|
}
|
27800
|
+
this.id = ++id;
|
27796
27801
|
this._attributes = {};
|
27797
27802
|
if (typeof options === 'object') {
|
27798
27803
|
for (key in options) {
|
@@ -27877,7 +27882,7 @@ return jQuery;
|
|
27877
27882
|
};
|
27878
27883
|
|
27879
27884
|
TaoApplication.prototype._initI18n = function() {
|
27880
|
-
if (I18n && this.locale) {
|
27885
|
+
if (window.I18n && this.locale) {
|
27881
27886
|
return I18n.locale = this.locale;
|
27882
27887
|
}
|
27883
27888
|
};
|
@@ -1,5 +1,7 @@
|
|
1
1
|
class TaoModule
|
2
2
|
|
3
|
+
id = 0
|
4
|
+
|
3
5
|
@extend: (obj) ->
|
4
6
|
unless obj and typeof obj == 'object'
|
5
7
|
throw new Error('TaoModule.extend: param should be an object')
|
@@ -44,6 +46,7 @@ class TaoModule
|
|
44
46
|
@["_#{name}Changed"]?()
|
45
47
|
|
46
48
|
constructor: (options = {}) ->
|
49
|
+
@id = ++id
|
47
50
|
@_attributes = {}
|
48
51
|
|
49
52
|
if typeof options == 'object'
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tao_on_rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Siyuan Liu
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: exe
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2017-01-03 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: turbolinks
|