kickstart_rails 0.1.410369944127 → 0.1.1410202688028
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/kickstart_rails.gemspec +0 -4
- data/lib/kickstart_rails/version.rb +3 -0
- metadata +3 -89
- data/app/assets/javascripts/kickstart_rails.js +0 -1
- data/app/assets/javascripts/kickstart_rails/app.js +0 -8
- data/app/assets/javascripts/kickstart_rails/docs.js +0 -108
- data/app/assets/javascripts/kickstart_rails/docs/throttler_edge.js +0 -2
- data/app/assets/javascripts/kickstart_rails/docs/throttler_edgeActions.js +0 -8
- data/app/assets/javascripts/kickstart_rails/docs/throttler_edgePreload.js +0 -18
- data/app/assets/javascripts/kickstart_rails/kickstart.js +0 -213
- data/app/assets/javascripts/kickstart_rails/ks.js +0 -6
- data/app/assets/javascripts/kickstart_rails/modal.js +0 -12
- data/app/assets/javascripts/kickstart_rails/test.js +0 -6364
- data/app/assets/javascripts/kickstart_rails/tests.js +0 -10
- data/app/assets/javascripts/kickstart_rails/throttler_edge.js +0 -2
- data/app/assets/javascripts/kickstart_rails/throttler_edgeActions.js +0 -8
- data/app/assets/javascripts/kickstart_rails/throttler_edgePreload.js +0 -18
- data/app/assets/stylesheets/index.scss +0 -1
- data/app/assets/stylesheets/kickstart_rails.scss +0 -1
- data/app/assets/stylesheets/kickstart_rails/components/_buttons.sass +0 -28
- data/app/assets/stylesheets/kickstart_rails/components/_forms.sass +0 -52
- data/app/assets/stylesheets/kickstart_rails/components/_modals.sass +0 -27
- data/app/assets/stylesheets/kickstart_rails/components/_nav.sass +0 -148
- data/app/assets/stylesheets/kickstart_rails/components/_notifications.sass +0 -40
- data/app/assets/stylesheets/kickstart_rails/components/_progress.sass +0 -12
- data/app/assets/stylesheets/kickstart_rails/components/_root-element.sass +0 -12
- data/app/assets/stylesheets/kickstart_rails/components/_status.sass +0 -16
- data/app/assets/stylesheets/kickstart_rails/components/_tables.sass +0 -35
- data/app/assets/stylesheets/kickstart_rails/components/_tiles.sass +0 -26
- data/app/assets/stylesheets/kickstart_rails/components/_typography.sass +0 -124
- data/app/assets/stylesheets/kickstart_rails/core/_animations.sass +0 -8
- data/app/assets/stylesheets/kickstart_rails/core/_base.sass +0 -11
- data/app/assets/stylesheets/kickstart_rails/core/_components.sass +0 -18
- data/app/assets/stylesheets/kickstart_rails/core/_grid.sass +0 -76
- data/app/assets/stylesheets/kickstart_rails/core/_icons.sass +0 -3
- data/app/assets/stylesheets/kickstart_rails/core/_index.sass +0 -6
- data/app/assets/stylesheets/kickstart_rails/core/_mixins.sass +0 -79
- data/app/assets/stylesheets/kickstart_rails/core/_normalize.sass +0 -339
- data/app/assets/stylesheets/kickstart_rails/docs.sass +0 -136
- data/app/assets/stylesheets/kickstart_rails/kickstart-semantic.sass +0 -12
- data/app/assets/stylesheets/kickstart_rails/kickstart.sass +0 -117
- data/app/assets/stylesheets/kickstart_rails/themes/_default.sass +0 -209
- data/kickstart_rails-0.1.1410202688028.gem +0 -0
- data/kickstart_rails-0.1.1410202922510.gem +0 -0
- data/kickstart_rails-0.1.410202952463.gem +0 -0
- data/kickstart_rails-0.1.410203541952.gem +0 -0
- data/kickstart_rails-0.1.410205316740.gem +0 -0
- data/kickstart_rails-0.1.410205374218.gem +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 42c7403f7e4a4d75f0d6432d5d4b3e64f8432cd2
|
4
|
+
data.tar.gz: ddab5426a4dde340beb51374015e4a21e71934c7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0471b338192d29128384af2aefed22fbe829e0843ba1423b1bf3d67ab20efa541e954392e7638f9dcf10ba9e8a32470d7db9be1cf81419e553f9056cd5ad3a8e
|
7
|
+
data.tar.gz: b92b1d7bd0911f386a12db8d06e99d7a6bbebb40d804f0729e9f5ac06ed3d451b51c5708ff7baabc5fa4e7af6f10bce0114f7c6d2f1c531e6b8deb8b408808d6
|
data/kickstart_rails.gemspec
CHANGED
@@ -20,8 +20,4 @@ Gem::Specification.new do |spec|
|
|
20
20
|
|
21
21
|
spec.add_development_dependency "bundler", "~> 1.6"
|
22
22
|
spec.add_development_dependency "rake", "~> 10.0"
|
23
|
-
|
24
|
-
spec.add_dependency "sass", "~> 3.3"
|
25
|
-
spec.add_dependency "normalize-rails", "~> 3.0"
|
26
|
-
spec.add_dependency "autoprefixer-rails", "~> 3.0"
|
27
23
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: kickstart_rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1410202688028
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Adam Kochanowicz
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-09-
|
11
|
+
date: 2014-09-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -38,48 +38,6 @@ dependencies:
|
|
38
38
|
- - ~>
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '10.0'
|
41
|
-
- !ruby/object:Gem::Dependency
|
42
|
-
name: sass
|
43
|
-
requirement: !ruby/object:Gem::Requirement
|
44
|
-
requirements:
|
45
|
-
- - ~>
|
46
|
-
- !ruby/object:Gem::Version
|
47
|
-
version: '3.3'
|
48
|
-
type: :runtime
|
49
|
-
prerelease: false
|
50
|
-
version_requirements: !ruby/object:Gem::Requirement
|
51
|
-
requirements:
|
52
|
-
- - ~>
|
53
|
-
- !ruby/object:Gem::Version
|
54
|
-
version: '3.3'
|
55
|
-
- !ruby/object:Gem::Dependency
|
56
|
-
name: normalize-rails
|
57
|
-
requirement: !ruby/object:Gem::Requirement
|
58
|
-
requirements:
|
59
|
-
- - ~>
|
60
|
-
- !ruby/object:Gem::Version
|
61
|
-
version: '3.0'
|
62
|
-
type: :runtime
|
63
|
-
prerelease: false
|
64
|
-
version_requirements: !ruby/object:Gem::Requirement
|
65
|
-
requirements:
|
66
|
-
- - ~>
|
67
|
-
- !ruby/object:Gem::Version
|
68
|
-
version: '3.0'
|
69
|
-
- !ruby/object:Gem::Dependency
|
70
|
-
name: autoprefixer-rails
|
71
|
-
requirement: !ruby/object:Gem::Requirement
|
72
|
-
requirements:
|
73
|
-
- - ~>
|
74
|
-
- !ruby/object:Gem::Version
|
75
|
-
version: '3.0'
|
76
|
-
type: :runtime
|
77
|
-
prerelease: false
|
78
|
-
version_requirements: !ruby/object:Gem::Requirement
|
79
|
-
requirements:
|
80
|
-
- - ~>
|
81
|
-
- !ruby/object:Gem::Version
|
82
|
-
version: '3.0'
|
83
41
|
description: The front-end framework for clean HTML and fast websites.
|
84
42
|
email:
|
85
43
|
- ajkochanowicz@gmail.com
|
@@ -89,55 +47,11 @@ extra_rdoc_files: []
|
|
89
47
|
files:
|
90
48
|
- Gemfile
|
91
49
|
- Rakefile
|
92
|
-
- app/assets/javascripts/kickstart_rails.js
|
93
|
-
- app/assets/javascripts/kickstart_rails/app.js
|
94
|
-
- app/assets/javascripts/kickstart_rails/docs.js
|
95
|
-
- app/assets/javascripts/kickstart_rails/docs/throttler_edge.js
|
96
|
-
- app/assets/javascripts/kickstart_rails/docs/throttler_edgeActions.js
|
97
|
-
- app/assets/javascripts/kickstart_rails/docs/throttler_edgePreload.js
|
98
|
-
- app/assets/javascripts/kickstart_rails/kickstart.js
|
99
|
-
- app/assets/javascripts/kickstart_rails/ks.js
|
100
|
-
- app/assets/javascripts/kickstart_rails/modal.js
|
101
|
-
- app/assets/javascripts/kickstart_rails/test.js
|
102
|
-
- app/assets/javascripts/kickstart_rails/tests.js
|
103
|
-
- app/assets/javascripts/kickstart_rails/throttler_edge.js
|
104
|
-
- app/assets/javascripts/kickstart_rails/throttler_edgeActions.js
|
105
|
-
- app/assets/javascripts/kickstart_rails/throttler_edgePreload.js
|
106
|
-
- app/assets/stylesheets/index.scss
|
107
|
-
- app/assets/stylesheets/kickstart_rails.scss
|
108
|
-
- app/assets/stylesheets/kickstart_rails/components/_buttons.sass
|
109
|
-
- app/assets/stylesheets/kickstart_rails/components/_forms.sass
|
110
|
-
- app/assets/stylesheets/kickstart_rails/components/_modals.sass
|
111
|
-
- app/assets/stylesheets/kickstart_rails/components/_nav.sass
|
112
|
-
- app/assets/stylesheets/kickstart_rails/components/_notifications.sass
|
113
|
-
- app/assets/stylesheets/kickstart_rails/components/_progress.sass
|
114
|
-
- app/assets/stylesheets/kickstart_rails/components/_root-element.sass
|
115
|
-
- app/assets/stylesheets/kickstart_rails/components/_status.sass
|
116
|
-
- app/assets/stylesheets/kickstart_rails/components/_tables.sass
|
117
|
-
- app/assets/stylesheets/kickstart_rails/components/_tiles.sass
|
118
|
-
- app/assets/stylesheets/kickstart_rails/components/_typography.sass
|
119
|
-
- app/assets/stylesheets/kickstart_rails/core/_animations.sass
|
120
|
-
- app/assets/stylesheets/kickstart_rails/core/_base.sass
|
121
|
-
- app/assets/stylesheets/kickstart_rails/core/_components.sass
|
122
|
-
- app/assets/stylesheets/kickstart_rails/core/_grid.sass
|
123
|
-
- app/assets/stylesheets/kickstart_rails/core/_icons.sass
|
124
|
-
- app/assets/stylesheets/kickstart_rails/core/_index.sass
|
125
|
-
- app/assets/stylesheets/kickstart_rails/core/_mixins.sass
|
126
|
-
- app/assets/stylesheets/kickstart_rails/core/_normalize.sass
|
127
|
-
- app/assets/stylesheets/kickstart_rails/docs.sass
|
128
|
-
- app/assets/stylesheets/kickstart_rails/kickstart-semantic.sass
|
129
|
-
- app/assets/stylesheets/kickstart_rails/kickstart.sass
|
130
|
-
- app/assets/stylesheets/kickstart_rails/themes/_default.sass
|
131
50
|
- kickstart_rails-0.1.1.gem
|
132
|
-
- kickstart_rails-0.1.1410202688028.gem
|
133
|
-
- kickstart_rails-0.1.1410202922510.gem
|
134
|
-
- kickstart_rails-0.1.410202952463.gem
|
135
|
-
- kickstart_rails-0.1.410203541952.gem
|
136
|
-
- kickstart_rails-0.1.410205316740.gem
|
137
|
-
- kickstart_rails-0.1.410205374218.gem
|
138
51
|
- kickstart_rails.gemspec
|
139
52
|
- lib/kickstart_rails.rb
|
140
53
|
- lib/kickstart_rails/version.mustache
|
54
|
+
- lib/kickstart_rails/version.rb
|
141
55
|
homepage: ''
|
142
56
|
licenses:
|
143
57
|
- MIT
|
@@ -1 +0,0 @@
|
|
1
|
-
//= require ./kickstart_rails/kickstart
|
@@ -1,108 +0,0 @@
|
|
1
|
-
(function() {
|
2
|
-
document.addEventListener('DOMContentLoaded', function() {
|
3
|
-
var booleanViewOptions, defaults, els, extend, option, options, setSettings, settings, _fn, _i, _j, _len, _len1;
|
4
|
-
window.$$ = function(el) {
|
5
|
-
return document.querySelectorAll(el);
|
6
|
-
};
|
7
|
-
window.$ = function(el) {
|
8
|
-
return $$(el)[0];
|
9
|
-
};
|
10
|
-
|
11
|
-
/*
|
12
|
-
CRUD DOCUMENTATION SETTINGS
|
13
|
-
*/
|
14
|
-
defaults = {
|
15
|
-
viewOptions: {
|
16
|
-
jquery: false,
|
17
|
-
semantic: true
|
18
|
-
}
|
19
|
-
};
|
20
|
-
booleanViewOptions = ['jquery', 'semantic'];
|
21
|
-
options = JSON.parse(localStorage.getItem('kickstartDocs'));
|
22
|
-
extend = function(destination, source) {
|
23
|
-
var property;
|
24
|
-
for (property in source) {
|
25
|
-
if (source[property] && source[property].constructor && source[property].constructor === Object) {
|
26
|
-
destination[property] = destination[property] || {};
|
27
|
-
arguments.callee(destination[property], source[property]);
|
28
|
-
} else {
|
29
|
-
destination[property] = source[property];
|
30
|
-
}
|
31
|
-
}
|
32
|
-
return destination;
|
33
|
-
};
|
34
|
-
settings = options ? extend(defaults, options) : defaults;
|
35
|
-
setSettings = function(settings) {
|
36
|
-
var $container, option, _i, _j, _len, _len1, _ref, _results;
|
37
|
-
localStorage.setItem('kickstartDocs', JSON.stringify(settings));
|
38
|
-
_results = [];
|
39
|
-
for (_i = 0, _len = booleanViewOptions.length; _i < _len; _i++) {
|
40
|
-
option = booleanViewOptions[_i];
|
41
|
-
_ref = $$(".if-" + option);
|
42
|
-
for (_j = 0, _len1 = _ref.length; _j < _len1; _j++) {
|
43
|
-
$container = _ref[_j];
|
44
|
-
$container.style.display = (settings.viewOptions["" + option] ? 'block' : 'none');
|
45
|
-
}
|
46
|
-
_results.push((function() {
|
47
|
-
var _k, _len2, _ref1, _results1;
|
48
|
-
_ref1 = $$(".ifnot-" + option);
|
49
|
-
_results1 = [];
|
50
|
-
for (_k = 0, _len2 = _ref1.length; _k < _len2; _k++) {
|
51
|
-
$container = _ref1[_k];
|
52
|
-
_results1.push($container.style.display = (settings.viewOptions["" + option] ? 'none' : 'block'));
|
53
|
-
}
|
54
|
-
return _results1;
|
55
|
-
})());
|
56
|
-
}
|
57
|
-
return _results;
|
58
|
-
};
|
59
|
-
setSettings(settings);
|
60
|
-
els = [];
|
61
|
-
for (_i = 0, _len = booleanViewOptions.length; _i < _len; _i++) {
|
62
|
-
option = booleanViewOptions[_i];
|
63
|
-
option = "#docs-" + option;
|
64
|
-
els.push(option);
|
65
|
-
}
|
66
|
-
if ($$(els).length) {
|
67
|
-
_fn = function(option) {
|
68
|
-
window["$opt" + option] = $("#docs-" + option);
|
69
|
-
window["$opt" + option].checked = (settings.viewOptions["" + option] ? true : false);
|
70
|
-
return window["$opt" + option].addEventListener('click', function() {
|
71
|
-
settings.viewOptions["" + option] = this.checked;
|
72
|
-
console.log(settings.viewOptions);
|
73
|
-
return setSettings(settings);
|
74
|
-
});
|
75
|
-
};
|
76
|
-
for (_j = 0, _len1 = booleanViewOptions.length; _j < _len1; _j++) {
|
77
|
-
option = booleanViewOptions[_j];
|
78
|
-
_fn(option);
|
79
|
-
}
|
80
|
-
}
|
81
|
-
if (k$.$('#example-showStatus')) {
|
82
|
-
return k$.$('#example-showStatus').addEventListener('click', function() {
|
83
|
-
var statuses;
|
84
|
-
statuses = [
|
85
|
-
{
|
86
|
-
text: 'Document Saved.',
|
87
|
-
type: 'success'
|
88
|
-
}, {
|
89
|
-
text: 'Sorry, we could find that library book.',
|
90
|
-
type: 'error'
|
91
|
-
}, {
|
92
|
-
text: 'Remember to check out our clearance',
|
93
|
-
type: 'info'
|
94
|
-
}, {
|
95
|
-
text: 'Deadline is approaching!',
|
96
|
-
type: 'warn'
|
97
|
-
}
|
98
|
-
];
|
99
|
-
k$.exampleCounter++;
|
100
|
-
if (!k$.exampleCounter || k$.exampleCounter > 3) {
|
101
|
-
k$.exampleCounter = 0;
|
102
|
-
}
|
103
|
-
return k$.status(statuses[k$.exampleCounter]);
|
104
|
-
});
|
105
|
-
}
|
106
|
-
});
|
107
|
-
|
108
|
-
}).call(this);
|
@@ -1,2 +0,0 @@
|
|
1
|
-
|
2
|
-
(function($,Edge,compId){var _=null,y=true,n=false,qw='swing',x2='4.0.1.365',c='color',x1='4.0.1',po='center',x16='rgba(253,215,38,1.00)',a='Base State',x='text',x12='hidden',dt='Default Timeline',e13='${_TextCopy}',i='none',x3='rgba(192,192,192,1)',lf='left',x15='rgba(216,205,180,1.00)',e17='${_EllipseCopy}',e14='${_Ellipse}',l='normal',s='style',h='height',x6='Courier, Courier New, monospace',e11='${_Stage}',bg='background-color',x10='rgba(255,255,255,1)',w='width',tp='top',x5='24',e9='${_Text}',ov='overflow',xc='rgba(0,0,0,1)',ff='font-family',x8='stage',ta='text-align';var im='images/';var s7="Output",s4="Input";var fonts={};var P=Edge.P,T=Edge.T,A=Edge.A;var opts={'gAudioPreloadPreference':'auto','gVideoPreloadPreference':'auto'};var resources=[];var symbols={"stage":{v:x1,mv:x1,b:x2,bS:a,stf:w,cg:i,iS:a,gpu:n,rI:n,cn:{dom:[{id:'Ellipse',t:'ellipse',r:['39px','61px','128px','128px','auto','auto'],br:["50%","50%","50%","50%"],f:[x3],s:[0,xc,i]},{id:'EllipseCopy',t:'ellipse',r:['432px','61px','128px','128px','auto','auto'],br:["50%","50%","50%","50%"],f:[x3],s:[0,xc,i]},{id:'Text',t:x,r:['1px','154px','139px','20px','auto','auto'],text:s4,align:"center",n:[x6,[x5,],xc,l,i,""]},{id:'TextCopy',t:x,r:['398px','154px','139px','20px','auto','auto'],text:s7,align:"center",n:[x6,x5,xc,l,i,""]}],sI:[]},s:{},tl:{"Default Timeline":{fS:a,tS:"",d:2000,a:y,tt:[]}}}};var S1=symbols[x8];var tl0=S1.tl[dt].tt,st1=S1.s[a]={},A1=A(_,tl0,st1);A1.A(e9).P(tp,154).P(ff,x6).P(lf,1).P(ta,po);A1.A(e11).P(bg,x10,c).P(w,540).P(h,190).P(ov,x12);A1.A(e13).P(tp,154).P(ff,x6).P(lf,398).P(ta,po);A1.A(e14).P(tp,11).T(2,11).P(lf,10).T(2,10).P(bg,x15,c).T(0,x16,0.25,qw).T(0.25,x15,0.25).T(0.5,x16,0.25).T(0.75,x15,0.25).T(1,x16,0.25).T(1.25,x15,0.25).T(1.5,x16,0.25).T(1.75,x15,0.25);A1.A(e17).P(bg,x15,c).T(0,x15).T(1.5,x16,0.25,qw).T(1.75,x15,0.25).P(lf,403).T(2,403).P(tp,11).T(2,11);Edge.registerCompositionDefn(compId,symbols,fonts,resources,opts);$(window).ready(function(){Edge.launchComposition(compId);});})(jQuery,AdobeEdge,"EDGE-112562383");
|
@@ -1,8 +0,0 @@
|
|
1
|
-
|
2
|
-
(function($,Edge,compId){var Composition=Edge.Composition,Symbol=Edge.Symbol;
|
3
|
-
//Edge symbol: 'stage'
|
4
|
-
(function(symbolName){Symbol.bindTriggerAction(compId,symbolName,"Default Timeline",2000,function(sym,e){this.play(0);});
|
5
|
-
//Edge binding end
|
6
|
-
})("stage");
|
7
|
-
//Edge symbol end:'stage'
|
8
|
-
})(jQuery,AdobeEdge,"EDGE-112562383");
|
@@ -1,18 +0,0 @@
|
|
1
|
-
|
2
|
-
window.AdobeEdge=window.AdobeEdge||{};if(!AdobeEdge.yepnope){(function(a,b,c){function d(a){return"[object Function]"==o.call(a)}function e(a){return"string"==typeof a}function f(){}function g(a){return!a||"loaded"==a||"complete"==a||"uninitialized"==a}function h(){var a=p.shift();q=1,a?a.t?m(function(){("c"==a.t?B.injectCss:B.injectJs)(a.s,0,a.a,a.x,a.e,1)},0):(a(),h()):q=0}function i(a,c,d,e,f,i,j){function k(b){if(!o&&g(l.readyState)&&(u.r=o=1,!q&&h(),l.onload=l.onreadystatechange=null,b)){"img"!=a&&m(function(){t.removeChild(l)},50);for(var d in y[c])y[c].hasOwnProperty(d)&&y[c][d].onload()}}var j=j||B.errorTimeout,l=b.createElement(a),o=0,r=0,u={t:d,s:c,e:f,a:i,x:j};1===y[c]&&(r=1,y[c]=[]),"object"==a?l.data=c:(l.src=c,l.type=a),l.width=l.height="0",l.onerror=l.onload=l.onreadystatechange=function(){k.call(this,r)},p.splice(e,0,u),"img"!=a&&(r||2===y[c]?(t.insertBefore(l,s?null:n),m(k,j)):y[c].push(l))}function j(a,b,c,d,f){return q=0,b=b||"j",e(a)?i("c"==b?v:u,a,b,this.i++,c,d,f):(p.splice(this.i++,0,a),1==p.length&&h()),this}function k(){var a=B;return a.loader={load:j,i:0},a}var l=b.documentElement,m=a.setTimeout,n=b.getElementsByTagName("script")[0],o={}.toString,p=[],q=0,r="MozAppearance"in l.style,s=r&&!!b.createRange().compareNode,t=s?l:n.parentNode,l=a.opera&&"[object Opera]"==o.call(a.opera),l=!!b.attachEvent&&!l,u=r?"object":l?"script":"img",v=l?"script":u,w=Array.isArray||function(a){return"[object Array]"==o.call(a)},x=[],y={},z={timeout:function(a,b){return b.length&&(a.timeout=b[0]),a}},A,B;B=function(a){function b(a){var a=a.split("!"),b=x.length,c=a.pop(),d=a.length,c={url:c,origUrl:c,prefixes:a},e,f,g;for(f=0;f<d;f++)g=a[f].split("="),(e=z[g.shift()])&&(c=e(c,g));for(f=0;f<b;f++)c=x[f](c);return c}function g(a,e,f,g,h){var i=b(a),j=i.autoCallback;i.url.split(".").pop().split("?").shift(),i.bypass||(e&&(e=d(e)?e:e[a]||e[g]||e[a.split("/").pop().split("?")[0]]),i.instead?i.instead(a,e,f,g,h):(y[i.url]?i.noexec=!0:y[i.url]=1,f.load(i.url,i.forceCSS||!i.forceJS&&"css"==i.url.split(".").pop().split("?").shift()?"c":c,i.noexec,i.attrs,i.timeout),(d(e)||d(j))&&f.load(function(){k(),e&&e(i.origUrl,h,g),j&&j(i.origUrl,h,g),y[i.url]=2})))}function h(a,b){function c(a,c){if(a){if(e(a))c||(j=function(){var a=[].slice.call(arguments);k.apply(this,a),l()}),g(a,j,b,0,h);else if(Object(a)===a)for(n in m=function(){var b=0,c;for(c in a)a.hasOwnProperty(c)&&b++;return b}(),a)a.hasOwnProperty(n)&&(!c&&!--m&&(d(j)?j=function(){var a=[].slice.call(arguments);k.apply(this,a),l()}:j[n]=function(a){return function(){var b=[].slice.call(arguments);a&&a.apply(this,b),l()}}(k[n])),g(a[n],j,b,n,h))}else!c&&l()}var h=!!a.test,i=a.load||a.both,j=a.callback||f,k=j,l=a.complete||f,m,n;c(h?a.yep:a.nope,!!i),i&&c(i)}var i,j,l=this.yepnope.loader;if(e(a))g(a,0,l,0);else if(w(a))for(i=0;i<a.length;i++)j=a[i],e(j)?g(j,0,l,0):w(j)?B(j):Object(j)===j&&h(j,l);else Object(a)===a&&h(a,l)},B.addPrefix=function(a,b){z[a]=b},B.addFilter=function(a){x.push(a)},B.errorTimeout=1e4,null==b.readyState&&b.addEventListener&&(b.readyState="loading",b.addEventListener("DOMContentLoaded",A=function(){b.removeEventListener("DOMContentLoaded",A,0),b.readyState="complete"},0)),a.yepnope=k(),a.yepnope.executeStack=h,a.yepnope.injectJs=function(a,c,d,e,i,j){var k=b.createElement("script"),l,o,e=e||B.errorTimeout;k.src=a;for(o in d)k.setAttribute(o,d[o]);c=j?h:c||f,k.onreadystatechange=k.onload=function(){!l&&g(k.readyState)&&(l=1,c(),k.onload=k.onreadystatechange=null)},m(function(){l||(l=1,c(1))},e),i?k.onload():n.parentNode.insertBefore(k,n)},a.yepnope.injectCss=function(a,c,d,e,g,i){var e=b.createElement("link"),j,c=i?h:c||f;e.href=a,e.rel="stylesheet",e.type="text/css";for(j in d)e.setAttribute(j,d[j]);g||(n.parentNode.insertBefore(e,n),m(c,0))}})(this,document);AdobeEdge.yepnope=window.yepnope;}
|
3
|
-
(function(compId){var htFallbacks;var testEle=document.createElement("div");function isSupported(a){for(var d=testEle.style,b,g=0;g<a.length;g++)if(b=a[g],void 0!==d[b])return!0;return!1}function supportsRGBA(){testEle.cssText="background-color:rgba(150,255,150,.5)";return 0==(""+testEle.style.backgroundColor).indexOf("rgba")?!0:!1}
|
4
|
-
var hasTransform=isSupported(["transformProperty","WebkitTransform","MozTransform","OTransform","msTransform"]),hasSVG=!!document.createElementNS&&!!document.createElementNS("http://www.w3.org/2000/svg","svg").createSVGRect,hasRGBA=supportsRGBA(),hasJSON=window.JSON&&window.JSON.parse&&window.JSON.stringify,readyToPlay=!1;function safeColor(a){a=""+a;if(!hasRGBA&&0==a.indexOf("rgba")){var d=a.lastIndexOf(",");0<d&&(a="rgb("+a.substring(5,d)+")")}return a}
|
5
|
-
AdobeEdge._preloaders=AdobeEdge._preloaders||[];AdobeEdge._preloaders.push(function(){filesToLoad&&(loadResources(filesToLoad),filesToLoad=void 0)});function doLoadResources(){for(var a=0;a<AdobeEdge._preloaders.length;a++)AdobeEdge._preloaders[a]()}AdobeEdge._readyplayers=AdobeEdge._readyplayers||[];AdobeEdge._readyplayers.push(function(){readyToPlay&&AdobeEdge.okToLaunchComposition(compId)});function playWhenReady(){AdobeEdge._playWhenReady=!0;for(var a=0;a<AdobeEdge._readyplayers.length;a++)AdobeEdge._readyplayers[a]()}function edgeCallback(a,d,b){htFallbacks[a]&&(a=htFallbacks[a]);AdobeEdge.preload.got[a]=!0;a==AdobeEdge.preload.last&&(!AdobeEdge.bootstrapLoading||AdobeEdge._playWhenReady?AdobeEdge.okToLaunchComposition(compId):readyToPlay=!0,AdobeEdge.preload.busy=!1,0<AdobeEdge.preload.q.length&&(a=AdobeEdge.preload.q.pop(),AdobeEdge.requestResources(a.files,a.callback)))}
|
6
|
-
AdobeEdge.requestResources=AdobeEdge.requestResources||function(a,d){AdobeEdge.yepnope.errorTimeout=4E3;AdobeEdge.preload.busy=!0;AdobeEdge.preload.got=AdobeEdge.preload.got||{};var b,g=a.length,f=[],c;for(b=0;b<g;b++){c=a[b];if("string"===typeof c)0===c.indexOf("//")&&0===window.location.href.indexOf("file://")&&(c="http:"+c),url=c,c={load:url};else if(c.load&&0===c.load.indexOf("//")&&0===window.location.href.indexOf("file://")&&(c.load="http:"+c.load),url=c.yep||c.load,c.callback){var h=c.callback;c.callback=function(a,b,c){h(a,b,c)&&d(a,b,c)}}c.callback||(c.callback=d);AdobeEdge.preload.got[url]||(f.push(c),AdobeEdge.preload.last=url)}f.length&&AdobeEdge.yepnope(f)};var filesToLoad,dlContent,preContent,doDelayLoad,signaledLoading,loadingEvt,requiresSVG,htLookup={},aLoader,aEffectors,plSTF,ctrPlS,minPlW,maxPlW,plHeight,plWidth;function loadResources(a,d){AdobeEdge.preload=AdobeEdge.preload||[];AdobeEdge.preload.q=AdobeEdge.preload.q||[];d||!isCapable()?filesToLoad=a:AdobeEdge.preload.busy?AdobeEdge.preload.q.push({files:a,callback:edgeCallback}):AdobeEdge.requestResources(a,edgeCallback)}function splitUnits(a){var d={};d.num=parseFloat(a);"string"==typeof a&&(d.units=a.match(/[a-zA-Z%]+$/));d.units&&"object"==typeof d.units&&(d.units=d.units[0]);return d}
|
7
|
-
function defaultUnits(a){var d=a;"auto"!==a&&((a=splitUnits(a))&&a.units||(d+="px"));return d}function findNWC(a,d){if(-1!=String(a.className).indexOf(d))return a;for(var b=a.childNodes,g=0;g<b.length;g++){var f=findNWC(b[g],d);if(!1!=f)return f}return!1}function parent(a){return a.parentElement}function offset(a){a=a.getBoundingClientRect();return{left:a.left+window.pageXOffset,top:a.top+window.pageYOffset}}function width(a){return a.offsetWidth}function height(a){return a.offsetHeight}
|
8
|
-
function isWrapped(a){return/center-wrapper/.test(parent(a).className)}function wrapForStageScaling(a){if(!isWrapped(a)){var d=document.createElement("div"),b=document.createElement("div");d.className="flow-wrapper";b.className="center-wrapper";d.style.width="1px";d.appendChild(b);parent(a).insertBefore(d,a);b.appendChild(a)}}
|
9
|
-
function bindPSS(a,d){if(!isWrapped(a)){var b=function(){var b=isWrapped(a),f=b?parent(parent(parent(a))):parent(a),c=width(f),h=height(f),k=width(a),n=height(a),m=window.innerHeight,e=1,l=a.style;(f="body"===f.nodeName.toLowerCase())&&(h=m);c=Math.round(c);h=Math.round(h);c/=k;h/=n;"both"===d?e=Math.min(c,h):"height"===d?e=h:"width"===d&&(e=c);void 0!==maxPlW&&(e=Math.min(e,parseInt(maxPlW,10)/k));void 0!==minPlW&&(e=Math.max(e,parseInt(minPlW,10)/k));h="scale("+e+")";l.transformOrigin="0 0";l.oTransformOrigin="0 0";l.msTransformOrigin="0 0";l.webkitTransformOrigin="0 0";l.mozTransformOrigin="0 0";l.oTransformOrigin="0 0";l.transform=h;l.oTransform=h;l.msTransform=h;l.webkitTransform=h;l.mozTransform=h;l.oTransform=h;if(!f||b)parent(a).style.height=Math.round(n*e)+"px",parent(a).style.width=Math.round(k*e)+"px";b&&(b=parent(parent(a)),b.style.height=Math.round(n*e+offset(a).top-offset(b).top))};wrapForStageScaling(a);window.addEventListener("resize",function(){b()});b()}}
|
10
|
-
function centerThePreloadStage(a,d){isWrapped(a)&&(a=parent(a));var b=a.style;/^both$|^horizontal$/.test(d)&&(b.position="absolute",b.marginLeft="auto",b.marginRight="auto",b.left="0",b.right="0");/^both$|^vertical$/.test(d)&&(b.position="absolute",b.marginTop="auto",b.marginBottom="auto",b.top="0",b.bottom="0")}
|
11
|
-
function simpleContent(a,d,b){var g=document.getElementsByTagName("body")[0],f=b||findNWC(g,compId),c,h,k;f?"absolute"!=f.style.position&&"relative"!=f.style.position&&(f.style.position="relative"):f=g;plHeight&&(f.style.height=plHeight);plWidth&&(f.style.width=plWidth);/^height$|^width$|^both$/.test(plSTF)&&d&&!b&&bindPSS(f,plSTF);/^vertical$|^horizontal$|^both$/.test(ctrPlS)&&d&&!b&¢erThePreloadStage(f,ctrPlS);for(var n=0;n<a.length;n++){b=a[n];"image"===b.type?(g=document.createElement("img"),g.src=b.fill[1]):g=document.createElement("div");g.id=b.id;k=g.style;if("text"==b.type){if(c=b.font)c[0]&&""!==c[0]&&(k.fontFamily=c[0]),"object"!=typeof c[1]&&(c[1]=[c[1]]),c[1][1]||(c[1][1]="px"),c[1][0]&&""!==c[1][0]&&(k.fontSize=c[1][0]+c[1][1]),c[2]&&""!==c[2]&&(k.color=safeColor(c[2])),c[3]&&""!==c[3]&&(k.fontWeight=c[3]),c[4]&&""!==c[4]&&(k.textDecoration=b.font[4]),c[5]&&""!==c[5]&&(k.fontStyle=b.font[5]);b.align&&"auto"!=b.align&&(k.textAlign=b.align);b.position&&(k.position=b.position);(!b.rect[2]||0>=b.rect[2])&&(!b.rect[3]||0>=b.rect[3])&&(k.whiteSpace="nowrap");g.innerHTML=b.text}d&&(g.className=d);k.position="absolute";c=b.rect[0];h=b.rect[1];if(b.transform&&b.transform[0]){var m=b.transform[0][0],e=splitUnits(m);if(e&&e.units&&(m=e.num,"%"==e.units&&b.rect[2])){var e=b.rect[2],l=splitUnits(b.rect[2]);l&&l.units&&(e=l.num,"%"==l.units&&(e=e/100*f.offsetWidth));m=m/100*e;0<f.offsetWidth&&(m=m/f.offsetWidth*100)}if(e=splitUnits(c))c=e.num;c+=m;e.units||(e.units="px");c+=e.units;if(1<b.transform[0].length){m=b.transform[0][1];(e=splitUnits(m))&&e.units&&(m=e.num,"%"==e.units&&b.rect[3]&&(e=b.rect[3],(l=splitUnits(b.rect[3]))&&l.units&&(e=l.num,"%"==l.units&&(e=e/100*f.offsetHeight)),m=m/100*e,0<f.offsetHeight&&(m=m/f.offsetHeight*100)));if(e=splitUnits(h))h=e.num;h+=m;e.units||(e.units="px");h+=e.units}}k.left=defaultUnits(c);k.top=defaultUnits(h);k.width=defaultUnits(b.rect[2]);k.height=defaultUnits(b.rect[3]);b.linkURL&&(htLookup[g.id]=b,g.onclick=function(){var a=htLookup[this.id];a.linkTarget?window.open(a.linkURL,a.linkTarget):window.location.href=a.linkURL},k.cursor="pointer");f.appendChild(g);if(b.c)for(k=0;k<b.c.length;k++)simpleContent(b.c[k],d,g)}}var fnCycle=function(a){a?fnCycle&&setTimeout(fnCycle,20):a={event:"loading",progress:0};loadingEvt&&loadingEvt(a)},aBootcompsLoaded=[];window.AdobeEdge.bootstrapListeners||(window.AdobeEdge.bootstrapListeners=[]);window.AdobeEdge.bootstrapCallback=function(a){window.AdobeEdge.bootstrapListeners.push(a);if(0<aBootcompsLoaded.length)for(var d=0;d<aBootcompsLoaded.length;d++)a(aBootcompsLoaded[d])};window.AdobeEdge.preloadComplete||(window.AdobeEdge.preloadComplete={});window.AdobeEdge.preloadComplete[compId]=function(a){AdobeEdge.$_(".edgePreload"+a).css("display","none");fnCycle=null;loadingEvt&&loadingEvt({event:"done",progress:1,reason:"complete"});aBootcompsLoaded.push(a);for(var d=window.AdobeEdge.bootstrapListeners.length,b=0;b<d;b++)try{window.AdobeEdge.bootstrapListeners[b](a)}catch(g){console.log("bootstrap error "+g)}};function isCapable(){return hasTransform?requiresSVG&&!hasSVG?!1:!0:!1}
|
12
|
-
function onDocLoaded(a){window.AdobeEdge.loaded=!0;fnCycle({event:"begin"});isCapable()?(preContent&&preContent.dom&&preContent.dom.length&&simpleContent(preContent.dom,"edgePreload"+compId),filesToLoad&&!signaledLoading&&(loadResources(filesToLoad),filesToLoad=void 0)):dlContent&&dlContent.dom&&(loadingEvt&&loadingEvt({event:"done",progress:1,reason:"downlevel"}),simpleContent(dlContent.dom))};window.AdobeEdge=window.AdobeEdge||{};window.AdobeEdge.framework='jquery';if(document.addEventListener){window.addEventListener("load",onDocLoaded,false);}else if(document.attachEvent){window.attachEvent("onload",onDocLoaded);}
|
13
|
-
requiresSVG=false;doDelayLoad=false;htFallbacks={"edge_includes/jquery-2.0.3.min.js":"//ajax.googleapis.com/ajax/libs/jquery/2.0.3/jquery.min.js","edge_includes/edge.4.0.1.min.js":"//animate.adobe.com/runtime/4.0.1/edge.4.0.1.min.js"};aLoader=[{load:"//ajax.googleapis.com/ajax/libs/jquery/2.0.3/jquery.min.js",callback:function(result,key){if(!window.jQuery){yepnope({load:"edge_includes/jquery-2.0.3.min.js",callback:edgeCallback});return false;}return true;}},{load:"//animate.adobe.com/runtime/4.0.1/edge.4.0.1.min.js",callback:function(result,key){if(!window.AdobeEdge){yepnope({load:"edge_includes/edge.4.0.1.min.js",callback:edgeCallback});return false;}return true;}},{load:"throttler_edge.js"},{load:"throttler_edgeActions.js"}];if(AdobeEdge.bootstrapLoading){signaledLoading=true;AdobeEdge.loadResources=doLoadResources;AdobeEdge.playWhenReady=playWhenReady;}
|
14
|
-
loadResources(aLoader,doDelayLoad);var plSTF="width",ctrPlS="none",minPlW="0",maxPlW=undefined,plWidth="540px",plHeight="190px";preContent={dom:[]};
|
15
|
-
//simpleContent
|
16
|
-
dlContent={dom:[]};
|
17
|
-
//simpleContent
|
18
|
-
})("EDGE-112562383");
|
@@ -1,213 +0,0 @@
|
|
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.coffee"])
|
213
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi9Vc2Vycy9hZGFta29jaGFub3dpY3ovU2l0ZXMva2lja3N0YXJ0L25vZGVfbW9kdWxlcy9icm93c2VyaWZ5L25vZGVfbW9kdWxlcy9icm93c2VyLXBhY2svX3ByZWx1ZGUuanMiLCIvVXNlcnMvYWRhbWtvY2hhbm93aWN6L1NpdGVzL2tpY2tzdGFydC9saWIvY29mZmVlL2FwcC5jb2ZmZWUiLCIvVXNlcnMvYWRhbWtvY2hhbm93aWN6L1NpdGVzL2tpY2tzdGFydC9saWIvY29mZmVlL2RlYm91bmNlci5jb2ZmZWUiLCIvVXNlcnMvYWRhbWtvY2hhbm93aWN6L1NpdGVzL2tpY2tzdGFydC9saWIvY29mZmVlL2tzLmNvZmZlZSIsIi9Vc2Vycy9hZGFta29jaGFub3dpY3ovU2l0ZXMva2lja3N0YXJ0L2xpYi9jb2ZmZWUvbW9kYWwuY29mZmVlIiwiL1VzZXJzL2FkYW1rb2NoYW5vd2ljei9TaXRlcy9raWNrc3RhcnQvbGliL2NvZmZlZS9uYXYuY29mZmVlIiwiL1VzZXJzL2FkYW1rb2NoYW5vd2ljei9TaXRlcy9raWNrc3RhcnQvbGliL2NvZmZlZS9zdGF0dXMuY29mZmVlIiwiL1VzZXJzL2FkYW1rb2NoYW5vd2ljei9TaXRlcy9raWNrc3RhcnQvbGliL2NvZmZlZS90aHJvdHRsZXIuY29mZmVlIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBO0FDQUEsSUFBQSwyQ0FBQTs7QUFBQSxFQUFBLEdBQUssT0FBQSxDQUFRLE1BQVIsQ0FBTCxDQUFBOztBQUFBLEtBQ0EsR0F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