edge_framework 0.9.11 → 0.9.12
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 +8 -8
- data/assets/sass/edge.scss +1 -1
- data/lib/edge/version.rb +1 -1
- data/lib/edge_framework.rb +3 -3
- data/{assets → template/base/assets}/js/vendor/custom.modernizr.js +0 -0
- data/{assets → template/base/assets}/js/vendor/jquery.min.js +0 -0
- metadata +3 -9
- data/assets/js/edge/edge.animate.js +0 -0
- data/assets/js/edge/edge.collect.js +0 -57
- data/assets/js/edge/edge.handlebars.js +0 -7
- data/assets/js/edge/edge.ie8.js +0 -15
- data/assets/js/edge/edge.template.js +0 -15
- data/assets/js/edge/prototype.js +0 -6
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
YWU2NDIyYzg0MGUxMGFjZjQ0YTI1N2MyYTc5ZDQwNWQyZWZmZmZlMA==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
OWNiODVmZmM4YWJiM2FlMWRkNTE2ZDcwNWQ4ZGQxZDEyYjYxZjBkZQ==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
ZmQzMTkzYjllMjE2NmQxOWY0MzQ5Yzk3NjY3OWExMDY4ZTNlODliZDEyODVh
|
10
|
+
NzcxZGUyZTRjM2EwYzA4Nzk2MzAwYThmZjYyMWQxOTJlOTM0NTc2ZGY2ZGFk
|
11
|
+
NDlmN2Y2NzhkNzU1ZDE2MDIxOTM5MWI4NWEzM2YzM2U3N2FkYjg=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
NGRjNmI0N2Y3MDU2NTRiMzMwZWZlM2ZlYmM3MmEwZTIzNDE0ZjA0ZjBmYjRj
|
14
|
+
OWE1OTRiNTgyY2YzNGI5NzNkMzFjYmFjYTI5ODg0ZjkzYzg4NWNiNzQyODll
|
15
|
+
NTc0YjY0OTk3MGYwODhhZGI4MjkyMjM0Y2M0NDNjNzM1MjhlMTM=
|
data/assets/sass/edge.scss
CHANGED
data/lib/edge/version.rb
CHANGED
data/lib/edge_framework.rb
CHANGED
@@ -49,9 +49,9 @@ module Edge
|
|
49
49
|
FileUtils.cp_r( Dir["#{base}/*"], destination )
|
50
50
|
|
51
51
|
# Copy javascript files
|
52
|
-
js_source = File.join( home, "assets", "js" )
|
53
|
-
js_destination = File.join( destination, "assets", "js")
|
54
|
-
FileUtils.cp_r( Dir["#{js_source}/*"], js_destination )
|
52
|
+
# js_source = File.join( home, "assets", "js" )
|
53
|
+
# js_destination = File.join( destination, "assets", "js")
|
54
|
+
# FileUtils.cp_r( Dir["#{js_source}/*"], js_destination )
|
55
55
|
|
56
56
|
puts "[success] \t Run `compass watch` to generate the CSS"
|
57
57
|
end
|
File without changes
|
File without changes
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: edge_framework
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.12
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Henner Setyono
|
@@ -97,15 +97,7 @@ files:
|
|
97
97
|
- Rakefile
|
98
98
|
- assets/js-docs/jquery.min.js
|
99
99
|
- assets/js/edge.js
|
100
|
-
- assets/js/edge/edge.animate.js
|
101
|
-
- assets/js/edge/edge.collect.js
|
102
|
-
- assets/js/edge/edge.handlebars.js
|
103
|
-
- assets/js/edge/edge.ie8.js
|
104
100
|
- assets/js/edge/edge.prism.js
|
105
|
-
- assets/js/edge/edge.template.js
|
106
|
-
- assets/js/edge/prototype.js
|
107
|
-
- assets/js/vendor/custom.modernizr.js
|
108
|
-
- assets/js/vendor/jquery.min.js
|
109
101
|
- assets/sass/edge.scss
|
110
102
|
- assets/sass/edge/_base.scss
|
111
103
|
- assets/sass/edge/_components.scss
|
@@ -171,6 +163,8 @@ files:
|
|
171
163
|
- template/base/assets/img/favicon-big.png
|
172
164
|
- template/base/assets/img/favicon.png
|
173
165
|
- template/base/assets/js/app.js
|
166
|
+
- template/base/assets/js/vendor/custom.modernizr.js
|
167
|
+
- template/base/assets/js/vendor/jquery.min.js
|
174
168
|
- template/base/assets/sass/_setting.scss
|
175
169
|
- template/base/assets/sass/app.scss
|
176
170
|
- template/base/assets/sass/framework.scss
|
File without changes
|
@@ -1,57 +0,0 @@
|
|
1
|
-
;(function ($, window, document, undefined) {
|
2
|
-
"use strict";
|
3
|
-
|
4
|
-
Edge.libs.collect = {
|
5
|
-
name : "collect",
|
6
|
-
version : "1.0",
|
7
|
-
settings : {
|
8
|
-
ignoreIfBlank : true,
|
9
|
-
debug : false,
|
10
|
-
formula : {},
|
11
|
-
},
|
12
|
-
|
13
|
-
init: function( scope, method, options ) {
|
14
|
-
console.log("collect");
|
15
|
-
// If scope isn't `document`, fetch the data
|
16
|
-
if($(scope)[0] !== $(document)[0] ) {
|
17
|
-
$.extend(true, this.settings, method);
|
18
|
-
this.scope = scope;
|
19
|
-
this.bundle = {};
|
20
|
-
this.fetch();
|
21
|
-
if(this.settings.debug) {
|
22
|
-
console.log(this.bundle);
|
23
|
-
}
|
24
|
-
}
|
25
|
-
},
|
26
|
-
|
27
|
-
fetch: function() {
|
28
|
-
console.log("fetch");
|
29
|
-
var self = this;
|
30
|
-
var $inputs = $(this.scope).find("input, select, textarea");
|
31
|
-
$inputs.each(function( index ){
|
32
|
-
var $this = $(this);
|
33
|
-
var type = $this.attr("type");
|
34
|
-
var name = $this.attr("name");
|
35
|
-
|
36
|
-
// Split the name and create the object
|
37
|
-
var table = name.split("_")[0];
|
38
|
-
var column = name.split("_")[1].split(/(?=[A-Z])/);
|
39
|
-
column = column.join("_").toLowerCase();
|
40
|
-
|
41
|
-
// If doesn't exists, initialize it
|
42
|
-
if(!self.bundle[table] ) {
|
43
|
-
self.bundle[table] = {};
|
44
|
-
}
|
45
|
-
|
46
|
-
// If checkbox or radio
|
47
|
-
if(type==="checkbox" || type==="radio") {
|
48
|
-
if($this.attr("checked") ) {
|
49
|
-
//console.log($this.val() );
|
50
|
-
}
|
51
|
-
} else {
|
52
|
-
self.bundle[table][column] = $this.val();
|
53
|
-
}
|
54
|
-
});
|
55
|
-
}
|
56
|
-
}
|
57
|
-
}(jQuery, this, this.document) );
|
data/assets/js/edge/edge.ie8.js
DELETED