kickstart_rails 0.2.410530173238 → 0.2.410531214989
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/javascripts/kickstart_rails/kickstart.js +213 -0
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f9fdb6149b864f9a66fbb6a8a7b91b56a98f5041
|
4
|
+
data.tar.gz: f4489b15270d0638ee640ac3c0b61b2cf46c3c24
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: db6de992048f2a3eb7cef5f0d6a1df8e098b4a4eaecf942ba61c3e265f75c2a12186b14a07c03eb51911125a0cb0b417d031c11eaa971706fcb3d35c4e1d4274
|
7
|
+
data.tar.gz: 58299100ad38d918f6f3aca679b8d3124b4b3dc4336a576fc92d23218b309d4f1ec4e4f5c74a52b79b5c788a93ddee5ded84aec88d4e848a76d350ae1ece5d77
|
@@ -0,0 +1,213 @@
|
|
1
|
+
(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({"./lib/coffee/app.coffee":[function(require,module,exports){
|
2
|
+
var Debounce, KS, Modal, Nav, Status, Throttler;
|
3
|
+
|
4
|
+
KS = require('./ks');
|
5
|
+
|
6
|
+
Modal = require('./modal');
|
7
|
+
|
8
|
+
Nav = require('./nav');
|
9
|
+
|
10
|
+
Debounce = require('./debouncer');
|
11
|
+
|
12
|
+
Status = require('./status');
|
13
|
+
|
14
|
+
Throttler = require('./throttler');
|
15
|
+
|
16
|
+
|
17
|
+
|
18
|
+
},{"./debouncer":"/Users/adamkochanowicz/Sites/kickstart/lib/coffee/debouncer.coffee","./ks":"/Users/adamkochanowicz/Sites/kickstart/lib/coffee/ks.coffee","./modal":"/Users/adamkochanowicz/Sites/kickstart/lib/coffee/modal.coffee","./nav":"/Users/adamkochanowicz/Sites/kickstart/lib/coffee/nav.coffee","./status":"/Users/adamkochanowicz/Sites/kickstart/lib/coffee/status.coffee","./throttler":"/Users/adamkochanowicz/Sites/kickstart/lib/coffee/throttler.coffee"}],"/Users/adamkochanowicz/Sites/kickstart/lib/coffee/debouncer.coffee":[function(require,module,exports){
|
19
|
+
var debounce;
|
20
|
+
|
21
|
+
debounce = function(fn, id, delay) {
|
22
|
+
var $delay;
|
23
|
+
$delay = delay || 1000;
|
24
|
+
if (k$.debounceQueue === null) {
|
25
|
+
k$.debounceQueue = id;
|
26
|
+
}
|
27
|
+
if (id === k$.debounceQueue) {
|
28
|
+
clearTimeout(k$.debounceTimer);
|
29
|
+
}
|
30
|
+
return k$.debounceTimer = setTimeout(function() {
|
31
|
+
fn();
|
32
|
+
return k$.debounceQueue = null;
|
33
|
+
}, $delay);
|
34
|
+
};
|
35
|
+
|
36
|
+
k$.debounce = debounce;
|
37
|
+
|
38
|
+
module.exports = debounce;
|
39
|
+
|
40
|
+
|
41
|
+
|
42
|
+
},{}],"/Users/adamkochanowicz/Sites/kickstart/lib/coffee/ks.coffee":[function(require,module,exports){
|
43
|
+
(function (global){
|
44
|
+
global.k$ = new Object();
|
45
|
+
|
46
|
+
k$.$$ = function(el) {
|
47
|
+
return document.querySelectorAll(el);
|
48
|
+
};
|
49
|
+
|
50
|
+
k$.$ = function(el) {
|
51
|
+
return k$.$$(el)[0];
|
52
|
+
};
|
53
|
+
|
54
|
+
k$.debounceTimer = false;
|
55
|
+
|
56
|
+
k$.debounceQueue = null;
|
57
|
+
|
58
|
+
k$.extend = function(destination, source) {
|
59
|
+
var property;
|
60
|
+
for (property in source) {
|
61
|
+
if (source[property] && source[property].constructor && source[property].constructor === Object) {
|
62
|
+
destination[property] = destination[property] || {};
|
63
|
+
arguments.callee(destination[property], source[property]);
|
64
|
+
} else {
|
65
|
+
destination[property] = source[property];
|
66
|
+
}
|
67
|
+
}
|
68
|
+
return destination;
|
69
|
+
};
|
70
|
+
|
71
|
+
module.exports = k$;
|
72
|
+
|
73
|
+
|
74
|
+
|
75
|
+
}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
|
76
|
+
},{}],"/Users/adamkochanowicz/Sites/kickstart/lib/coffee/modal.coffee":[function(require,module,exports){
|
77
|
+
var modal;
|
78
|
+
|
79
|
+
modal = function(el) {
|
80
|
+
(function(el) {
|
81
|
+
document.body.addEventListener('click', function() {
|
82
|
+
return k$.$(el).style.display = 'none';
|
83
|
+
});
|
84
|
+
return k$.$(el).addEventListener('click', function(e) {
|
85
|
+
return e.stopPropagation();
|
86
|
+
});
|
87
|
+
})(el);
|
88
|
+
return k$.$(el);
|
89
|
+
};
|
90
|
+
|
91
|
+
k$.modal = modal;
|
92
|
+
|
93
|
+
module.exports = modal;
|
94
|
+
|
95
|
+
|
96
|
+
|
97
|
+
},{}],"/Users/adamkochanowicz/Sites/kickstart/lib/coffee/nav.coffee":[function(require,module,exports){
|
98
|
+
var nav;
|
99
|
+
|
100
|
+
nav = function(el) {
|
101
|
+
var $menuItem, $menuItems, e, _$menuItems, _fn, _i, _j, _len, _len1;
|
102
|
+
try {
|
103
|
+
$menuItems = k$.$(el).querySelectorAll('ul > li');
|
104
|
+
_$menuItems = new Array();
|
105
|
+
for (_i = 0, _len = $menuItems.length; _i < _len; _i++) {
|
106
|
+
$menuItem = $menuItems[_i];
|
107
|
+
if ($menuItem.querySelectorAll('ul').length) {
|
108
|
+
_$menuItems.push($menuItem);
|
109
|
+
}
|
110
|
+
}
|
111
|
+
$menuItems = _$menuItems;
|
112
|
+
_fn = function($menuItem) {
|
113
|
+
return $menuItem.addEventListener('click', function(e) {
|
114
|
+
var $subMenu, $ul, _$menuItem, _k, _l, _len2, _len3, _ref, _ref1;
|
115
|
+
e.stopPropagation();
|
116
|
+
_ref = document.querySelectorAll('.with-submenu');
|
117
|
+
for (_k = 0, _len2 = _ref.length; _k < _len2; _k++) {
|
118
|
+
_$menuItem = _ref[_k];
|
119
|
+
_$menuItem.classList.remove('open');
|
120
|
+
}
|
121
|
+
$ul = $menuItem.querySelector('ul');
|
122
|
+
_ref1 = document.querySelectorAll('.with-submenu ul');
|
123
|
+
for (_l = 0, _len3 = _ref1.length; _l < _len3; _l++) {
|
124
|
+
$subMenu = _ref1[_l];
|
125
|
+
$subMenu.style.display = 'none';
|
126
|
+
}
|
127
|
+
if ($ul) {
|
128
|
+
$menuItem.classList.add('open');
|
129
|
+
return $ul.style.display = ($ul.style.display === 'block' ? 'none' : 'block');
|
130
|
+
}
|
131
|
+
});
|
132
|
+
};
|
133
|
+
for (_j = 0, _len1 = $menuItems.length; _j < _len1; _j++) {
|
134
|
+
$menuItem = $menuItems[_j];
|
135
|
+
$menuItem.classList.add('with-submenu');
|
136
|
+
_fn($menuItem);
|
137
|
+
}
|
138
|
+
document.body.addEventListener('click', function() {
|
139
|
+
var $li, $ul, _k, _l, _len2, _len3, _ref, _ref1, _results;
|
140
|
+
_ref = k$.$(el).querySelectorAll('ul li ul');
|
141
|
+
for (_k = 0, _len2 = _ref.length; _k < _len2; _k++) {
|
142
|
+
$ul = _ref[_k];
|
143
|
+
$ul.style.display = 'none';
|
144
|
+
}
|
145
|
+
_ref1 = k$.$(el).querySelectorAll('ul li');
|
146
|
+
_results = [];
|
147
|
+
for (_l = 0, _len3 = _ref1.length; _l < _len3; _l++) {
|
148
|
+
$li = _ref1[_l];
|
149
|
+
_results.push($li.classList.remove('open'));
|
150
|
+
}
|
151
|
+
return _results;
|
152
|
+
});
|
153
|
+
} catch (_error) {
|
154
|
+
e = _error;
|
155
|
+
console.error("Could not instantiate as a nav.", e.message);
|
156
|
+
}
|
157
|
+
return k$.$(el);
|
158
|
+
};
|
159
|
+
|
160
|
+
k$.nav = nav;
|
161
|
+
|
162
|
+
module.exports = nav;
|
163
|
+
|
164
|
+
|
165
|
+
|
166
|
+
},{}],"/Users/adamkochanowicz/Sites/kickstart/lib/coffee/status.coffee":[function(require,module,exports){
|
167
|
+
var status;
|
168
|
+
|
169
|
+
status = function(opts) {
|
170
|
+
var $status, $statusBar, defaults, hideStatusBar;
|
171
|
+
defaults = {
|
172
|
+
type: 'warn',
|
173
|
+
delay: 2000
|
174
|
+
};
|
175
|
+
status = k$.extend(defaults, opts);
|
176
|
+
if (!k$.$$('#status-bar').length) {
|
177
|
+
$statusBar = document.createElement('div');
|
178
|
+
$statusBar.id = 'status-bar';
|
179
|
+
$statusBar.className = 'status-bar';
|
180
|
+
$statusBar.innerHTML = "<div class='status-bar_status' id='status-bar_status'></div>";
|
181
|
+
document.body.appendChild($statusBar);
|
182
|
+
}
|
183
|
+
$statusBar = k$.$('#status-bar');
|
184
|
+
hideStatusBar = function() {
|
185
|
+
return $statusBar.parentNode.removeChild($statusBar);
|
186
|
+
};
|
187
|
+
if (status.delay > 0) {
|
188
|
+
k$.debounce(hideStatusBar, 'hideStatusBar', status.delay);
|
189
|
+
}
|
190
|
+
$status = k$.$("#status-bar_status");
|
191
|
+
$status.innerHTML = status.text;
|
192
|
+
return $status.dataset.type = status.type || 'warn';
|
193
|
+
};
|
194
|
+
|
195
|
+
k$.status = status;
|
196
|
+
|
197
|
+
module.exports = status;
|
198
|
+
|
199
|
+
|
200
|
+
|
201
|
+
},{}],"/Users/adamkochanowicz/Sites/kickstart/lib/coffee/throttler.coffee":[function(require,module,exports){
|
202
|
+
var throttle;
|
203
|
+
|
204
|
+
throttle = function(fn, id, delay) {};
|
205
|
+
|
206
|
+
k$.throttle = throttle;
|
207
|
+
|
208
|
+
module.exports = throttle;
|
209
|
+
|
210
|
+
|
211
|
+
|
212
|
+
},{}]},{},["./lib/coffee/app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naGlkZVN0YXR1c0JhcicsIHN0YXR1cy5kZWxheVxuXG4gICRzdGF0dXMgPSBrJC4kKFwiI3N0YXR1cy1iYXJfc3RhdHVzXCIpXG4gICRzdGF0dXMuaW5uZXJIVE1MID0gc3RhdHVzLnRleHRcbiAgJHN0YXR1cy5kYXRhc2V0LnR5cGUgPSBzdGF0dXMudHlwZSB8fCAnd2FybidcblxuayQuc3RhdHVzID0gc3RhdHVzXG5cbm1vZHVsZS5leHBvcnRzID0gc3RhdHVzXG4iLCJ0aHJvdHRsZSA9IChmbiwgaWQsIGRlbGF5KSAtPlxuXG5cbmskLnRocm90dGxlID0gdGhyb3R0bGVcblxubW9kdWxlLmV4cG9ydHMgPSB0aHJvdHRsZVxuIl19
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: kickstart_rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.410531214989
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Adam Kochanowicz
|
@@ -94,6 +94,7 @@ files:
|
|
94
94
|
- app/assets/javascripts/kickstart_rails/docs/throttler_edge.js
|
95
95
|
- app/assets/javascripts/kickstart_rails/docs/throttler_edgeActions.js
|
96
96
|
- app/assets/javascripts/kickstart_rails/docs/throttler_edgePreload.js
|
97
|
+
- app/assets/javascripts/kickstart_rails/kickstart.js
|
97
98
|
- app/assets/javascripts/kickstart_rails/test.js
|
98
99
|
- app/assets/javascripts/kickstart_rails/throttler_edge.js
|
99
100
|
- app/assets/javascripts/kickstart_rails/throttler_edgeActions.js
|