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 CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- YjAyMmQwYTdjODRkYzczOTMzMzIwNjQ5YjQ1YjY0NDk0YWY3Mzg3ZA==
4
+ YWU2NDIyYzg0MGUxMGFjZjQ0YTI1N2MyYTc5ZDQwNWQyZWZmZmZlMA==
5
5
  data.tar.gz: !binary |-
6
- NjhhZjdiNTMyMjIxMDMyZmY3ZDQ5YWJmOTUzOGRjMmI0NWIxN2M4YQ==
6
+ OWNiODVmZmM4YWJiM2FlMWRkNTE2ZDcwNWQ4ZGQxZDEyYjYxZjBkZQ==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- ODY1YzkwMWNmZjA2MWJiZDU3OGI2ZjU5OTQxOGFkOGZkYzgwODliYjc3MjAw
10
- MWY2NzAzZWJhOThhOTZhY2FiNmZmMzA1MjllZDY5ZTUzNjY4NjY2ZjdhYzQ5
11
- ODgwZDI0MzI5MDJlMDVkZTY3NDU0N2RkNmU3YjRkN2NkODk1ZDI=
9
+ ZmQzMTkzYjllMjE2NmQxOWY0MzQ5Yzk3NjY3OWExMDY4ZTNlODliZDEyODVh
10
+ NzcxZGUyZTRjM2EwYzA4Nzk2MzAwYThmZjYyMWQxOTJlOTM0NTc2ZGY2ZGFk
11
+ NDlmN2Y2NzhkNzU1ZDE2MDIxOTM5MWI4NWEzM2YzM2U3N2FkYjg=
12
12
  data.tar.gz: !binary |-
13
- Yzc4NTE5YzNhMTZjNDdjYTY0NTM5NzVlNDJhYTNiYzRjZThhYzAwNTk5NTk4
14
- MmU1YTBmYzk0OWIyN2NkYTVhOThhMDVhNjg0ZDAwZWY3MDY3YzhjNmZkZGEy
15
- ZTU2ZWM1YjQ4NzA5ODRmNTlmOWZiZDI0NTA4N2M4ZGNlMDE4OTE=
13
+ NGRjNmI0N2Y3MDU2NTRiMzMwZWZlM2ZlYmM3MmEwZTIzNDE0ZjA0ZjBmYjRj
14
+ OWE1OTRiNTgyY2YzNGI5NzNkMzFjYmFjYTI5ODg0ZjkzYzg4NWNiNzQyODll
15
+ NTc0YjY0OTk3MGYwODhhZGI4MjkyMjM0Y2M0NDNjNzM1MjhlMTM=
@@ -1,6 +1,6 @@
1
1
  /* ----------------------------------
2
2
  - EDGE Framework - edge.setyono.net
3
- - v0.9.11 (Crixalis)
3
+ - v0.9.12 (Crixalis)
4
4
  ------------------------------------- */
5
5
 
6
6
  @import "edge/base";
data/lib/edge/version.rb CHANGED
@@ -1,4 +1,4 @@
1
1
  module Edge
2
- VERSION = "0.9.11"
2
+ VERSION = "0.9.12"
3
3
  CODENAME = "Crixalis"
4
4
  end
@@ -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
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.11
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) );
@@ -1,7 +0,0 @@
1
- Handlebars.registerHelper('times', function(n, block) {
2
- var accum = '';
3
- n = parseInt(n) + 1; //so the loop started at 1
4
- for(var i = 1; i < n; i++)
5
- accum += block.fn(i);
6
- return accum;
7
- });
@@ -1,15 +0,0 @@
1
- ;(function ($, window, document, undefined) {
2
- "use strict";
3
-
4
- Edge.libs.ie8 = {
5
- name : "ie8",
6
- version : "1.0",
7
- settings : {
8
-
9
- },
10
-
11
- init: function( scope, method, options ) {
12
-
13
- },
14
- }
15
- }(jQuery, this, this.document) );
@@ -1,15 +0,0 @@
1
- ;(function ($, window, document, undefined) {
2
- "use strict";
3
-
4
- Edge.libs.ie8 = {
5
- name : "name",
6
- version : "1.0",
7
- settings : {
8
-
9
- },
10
-
11
- init: function( scope, method, options ) {
12
-
13
- },
14
- }
15
- }(jQuery, this, this.document) );
@@ -1,6 +0,0 @@
1
- Array.prototype.contains = function ( needle ) {
2
- for (var i in this) {
3
- if (this[i] === needle) return true;
4
- }
5
- return false;
6
- }