ink3-rails 0.1.1 → 0.1.2
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 +4 -4
- metadata +2 -115
- data/Gemfile +0 -4
- data/LICENSE +0 -22
- data/README.md +0 -49
- data/Rakefile +0 -0
- data/app/assets/css/font-awesome.min.css.erb +0 -1
- data/app/assets/css/ink-flex.css.erb +0 -9463
- data/app/assets/css/ink-ie.min.css.erb +0 -1
- data/app/assets/css/ink-legacy.css.erb +0 -4692
- data/app/assets/css/ink.css.erb +0 -8345
- data/app/assets/css/quick-start.css.erb +0 -40
- data/app/assets/fonts/FontAwesome.otf +0 -0
- data/app/assets/fonts/Roboto/roboto-black-webfont.eot +0 -0
- data/app/assets/fonts/Roboto/roboto-black-webfont.svg +0 -8652
- data/app/assets/fonts/Roboto/roboto-black-webfont.ttf +0 -0
- data/app/assets/fonts/Roboto/roboto-black-webfont.woff +0 -0
- data/app/assets/fonts/Roboto/roboto-blackitalic-webfont.eot +0 -0
- data/app/assets/fonts/Roboto/roboto-blackitalic-webfont.svg +0 -8652
- data/app/assets/fonts/Roboto/roboto-blackitalic-webfont.ttf +0 -0
- data/app/assets/fonts/Roboto/roboto-blackitalic-webfont.woff +0 -0
- data/app/assets/fonts/Roboto/roboto-bold-webfont.eot +0 -0
- data/app/assets/fonts/Roboto/roboto-bold-webfont.svg +0 -7496
- data/app/assets/fonts/Roboto/roboto-bold-webfont.ttf +0 -0
- data/app/assets/fonts/Roboto/roboto-bold-webfont.woff +0 -0
- data/app/assets/fonts/Roboto/roboto-bolditalic-webfont.eot +0 -0
- data/app/assets/fonts/Roboto/roboto-bolditalic-webfont.svg +0 -8652
- data/app/assets/fonts/Roboto/roboto-bolditalic-webfont.ttf +0 -0
- data/app/assets/fonts/Roboto/roboto-bolditalic-webfont.woff +0 -0
- data/app/assets/fonts/Roboto/roboto-italic-webfont.eot +0 -0
- data/app/assets/fonts/Roboto/roboto-italic-webfont.svg +0 -8164
- data/app/assets/fonts/Roboto/roboto-italic-webfont.ttf +0 -0
- data/app/assets/fonts/Roboto/roboto-italic-webfont.woff +0 -0
- data/app/assets/fonts/Roboto/roboto-light-webfont.eot +0 -0
- data/app/assets/fonts/Roboto/roboto-light-webfont.svg +0 -8162
- data/app/assets/fonts/Roboto/roboto-light-webfont.ttf +0 -0
- data/app/assets/fonts/Roboto/roboto-light-webfont.woff +0 -0
- data/app/assets/fonts/Roboto/roboto-lightitalic-webfont.eot +0 -0
- data/app/assets/fonts/Roboto/roboto-lightitalic-webfont.svg +0 -8162
- data/app/assets/fonts/Roboto/roboto-lightitalic-webfont.ttf +0 -0
- data/app/assets/fonts/Roboto/roboto-lightitalic-webfont.woff +0 -0
- data/app/assets/fonts/Roboto/roboto-medium-webfont.eot +0 -0
- data/app/assets/fonts/Roboto/roboto-medium-webfont.svg +0 -7496
- data/app/assets/fonts/Roboto/roboto-medium-webfont.ttf +0 -0
- data/app/assets/fonts/Roboto/roboto-medium-webfont.woff +0 -0
- data/app/assets/fonts/Roboto/roboto-mediumitalic-webfont.eot +0 -0
- data/app/assets/fonts/Roboto/roboto-mediumitalic-webfont.svg +0 -8652
- data/app/assets/fonts/Roboto/roboto-mediumitalic-webfont.ttf +0 -0
- data/app/assets/fonts/Roboto/roboto-mediumitalic-webfont.woff +0 -0
- data/app/assets/fonts/Roboto/roboto-regular-webfont.eot +0 -0
- data/app/assets/fonts/Roboto/roboto-regular-webfont.svg +0 -7606
- data/app/assets/fonts/Roboto/roboto-regular-webfont.ttf +0 -0
- data/app/assets/fonts/Roboto/roboto-regular-webfont.woff +0 -0
- data/app/assets/fonts/Roboto/roboto-thin-webfont.eot +0 -0
- data/app/assets/fonts/Roboto/roboto-thin-webfont.svg +0 -8020
- data/app/assets/fonts/Roboto/roboto-thin-webfont.ttf +0 -0
- data/app/assets/fonts/Roboto/roboto-thin-webfont.woff +0 -0
- data/app/assets/fonts/Roboto/roboto-thinitalic-webfont.eot +0 -0
- data/app/assets/fonts/Roboto/roboto-thinitalic-webfont.svg +0 -8020
- data/app/assets/fonts/Roboto/roboto-thinitalic-webfont.ttf +0 -0
- data/app/assets/fonts/Roboto/roboto-thinitalic-webfont.woff +0 -0
- data/app/assets/fonts/Roboto_condensed/robotocondensed-bold-webfont.eot +0 -0
- data/app/assets/fonts/Roboto_condensed/robotocondensed-bold-webfont.svg +0 -8164
- data/app/assets/fonts/Roboto_condensed/robotocondensed-bold-webfont.ttf +0 -0
- data/app/assets/fonts/Roboto_condensed/robotocondensed-bold-webfont.woff +0 -0
- data/app/assets/fonts/Roboto_condensed/robotocondensed-bolditalic-webfont.eot +0 -0
- data/app/assets/fonts/Roboto_condensed/robotocondensed-bolditalic-webfont.svg +0 -8164
- data/app/assets/fonts/Roboto_condensed/robotocondensed-bolditalic-webfont.ttf +0 -0
- data/app/assets/fonts/Roboto_condensed/robotocondensed-bolditalic-webfont.woff +0 -0
- data/app/assets/fonts/Roboto_condensed/robotocondensed-italic-webfont.eot +0 -0
- data/app/assets/fonts/Roboto_condensed/robotocondensed-italic-webfont.svg +0 -8165
- data/app/assets/fonts/Roboto_condensed/robotocondensed-italic-webfont.ttf +0 -0
- data/app/assets/fonts/Roboto_condensed/robotocondensed-italic-webfont.woff +0 -0
- data/app/assets/fonts/Roboto_condensed/robotocondensed-light-webfont.eot +0 -0
- data/app/assets/fonts/Roboto_condensed/robotocondensed-light-webfont.svg +0 -8164
- data/app/assets/fonts/Roboto_condensed/robotocondensed-light-webfont.ttf +0 -0
- data/app/assets/fonts/Roboto_condensed/robotocondensed-light-webfont.woff +0 -0
- data/app/assets/fonts/Roboto_condensed/robotocondensed-lightitalic-webfont.eot +0 -0
- data/app/assets/fonts/Roboto_condensed/robotocondensed-lightitalic-webfont.svg +0 -8164
- data/app/assets/fonts/Roboto_condensed/robotocondensed-lightitalic-webfont.ttf +0 -0
- data/app/assets/fonts/Roboto_condensed/robotocondensed-lightitalic-webfont.woff +0 -0
- data/app/assets/fonts/Roboto_condensed/robotocondensed-regular-webfont.eot +0 -0
- data/app/assets/fonts/Roboto_condensed/robotocondensed-regular-webfont.svg +0 -8165
- data/app/assets/fonts/Roboto_condensed/robotocondensed-regular-webfont.ttf +0 -0
- data/app/assets/fonts/Roboto_condensed/robotocondensed-regular-webfont.woff +0 -0
- data/app/assets/fonts/Roboto_slab/robotoslab-bold-webfont.eot +0 -0
- data/app/assets/fonts/Roboto_slab/robotoslab-bold-webfont.svg +0 -8554
- data/app/assets/fonts/Roboto_slab/robotoslab-bold-webfont.ttf +0 -0
- data/app/assets/fonts/Roboto_slab/robotoslab-bold-webfont.woff +0 -0
- data/app/assets/fonts/Roboto_slab/robotoslab-light-webfont.eot +0 -0
- data/app/assets/fonts/Roboto_slab/robotoslab-light-webfont.svg +0 -8176
- data/app/assets/fonts/Roboto_slab/robotoslab-light-webfont.ttf +0 -0
- data/app/assets/fonts/Roboto_slab/robotoslab-light-webfont.woff +0 -0
- data/app/assets/fonts/Roboto_slab/robotoslab-regular-webfont.eot +0 -0
- data/app/assets/fonts/Roboto_slab/robotoslab-regular-webfont.svg +0 -8176
- data/app/assets/fonts/Roboto_slab/robotoslab-regular-webfont.ttf +0 -0
- data/app/assets/fonts/Roboto_slab/robotoslab-regular-webfont.woff +0 -0
- data/app/assets/fonts/Roboto_slab/robotoslab-thin-webfont.eot +0 -0
- data/app/assets/fonts/Roboto_slab/robotoslab-thin-webfont.svg +0 -8176
- data/app/assets/fonts/Roboto_slab/robotoslab-thin-webfont.ttf +0 -0
- data/app/assets/fonts/Roboto_slab/robotoslab-thin-webfont.woff +0 -0
- data/app/assets/fonts/fontawesome-webfont.eot +0 -0
- data/app/assets/fonts/fontawesome-webfont.svg +0 -399
- data/app/assets/fonts/fontawesome-webfont.ttf +0 -0
- data/app/assets/fonts/fontawesome-webfont.woff +0 -0
- data/app/assets/js/autoload.js +0 -86
- data/app/assets/js/html5shiv-printshiv.js +0 -11
- data/app/assets/js/html5shiv.js +0 -8
- data/app/assets/js/ink-all.js.map +0 -1
- data/app/assets/js/ink-all.min.js +0 -10
- data/app/assets/js/modernizr.js +0 -1393
- data/app/assets/js/prettify.js +0 -29
- data/ink3-rails.gemspec +0 -22
- data/lib/ink3-rails/version.rb +0 -6
- data/lib/ink3-rails.rb +0 -9
Binary file
|
Binary file
|
data/app/assets/js/autoload.js
DELETED
@@ -1,86 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* @module Ink.Autoload
|
3
|
-
* @version 1
|
4
|
-
*/
|
5
|
-
Ink.createModule('Ink.Autoload', 1, ['Ink.Dom.Selector_1', 'Ink.Dom.Loaded_1', 'Ink.UI.SmoothScroller_1', 'Ink.UI.Close_1'], function( Selector, Loaded, Scroller, Close ){
|
6
|
-
'use strict';
|
7
|
-
|
8
|
-
/**
|
9
|
-
* @namespace Ink.Autoload
|
10
|
-
* @static
|
11
|
-
*/
|
12
|
-
|
13
|
-
var Autoload = {
|
14
|
-
selectors: {
|
15
|
-
/* Match module names to element classes (or more complex selectors)
|
16
|
-
* which get the UI modules instantiated automatically. */
|
17
|
-
'Animate_1' : '.ink-animate',
|
18
|
-
'Carousel_1' : '.ink-carousel',
|
19
|
-
'DatePicker_1' : '.ink-datepicker',
|
20
|
-
'Dropdown_1' : '.ink-dropdown',
|
21
|
-
'Gallery_1' : 'ul.ink-gallery-source',
|
22
|
-
'Modal_1' : '.ink-modal',
|
23
|
-
'ProgressBar_1' : '.ink-progress-bar',
|
24
|
-
'SortableList_1': '.ink-sortable-list',
|
25
|
-
'Spy_1' : '[data-spy="true"]',
|
26
|
-
'Stacker_1' : '.ink-stacker',
|
27
|
-
'Sticky_1' : '.ink-sticky, .sticky',
|
28
|
-
'Table_1' : '.ink-table',
|
29
|
-
'Tabs_1' : '.ink-tabs',
|
30
|
-
'Toggle_1' : '.ink-toggle, .toggle',
|
31
|
-
'Tooltip_1' : '.ink-tooltip, .tooltip',
|
32
|
-
'TreeView_1' : '.ink-tree-view'
|
33
|
-
},
|
34
|
-
defaultOptions: {},
|
35
|
-
run: function (parentEl, options){
|
36
|
-
options = options || {};
|
37
|
-
|
38
|
-
if (options.waitForDOMLoaded) {
|
39
|
-
Loaded.run(autoload);
|
40
|
-
} else {
|
41
|
-
autoload();
|
42
|
-
}
|
43
|
-
|
44
|
-
function autoload() {
|
45
|
-
for(var mod in Autoload.selectors) if (Autoload.selectors.hasOwnProperty(mod)) {
|
46
|
-
// `elements` need to be in a closure because requireModules is async.
|
47
|
-
findElements(mod);
|
48
|
-
}
|
49
|
-
if (options.createClose) {
|
50
|
-
new Close();
|
51
|
-
}
|
52
|
-
if (options.createSmoothScroller) {
|
53
|
-
Scroller.init();
|
54
|
-
}
|
55
|
-
}
|
56
|
-
|
57
|
-
function findElements(mod) {
|
58
|
-
var modName = 'Ink.UI.' + mod;
|
59
|
-
var elements = Selector.select( Autoload.selectors[mod], parentEl );
|
60
|
-
if( elements.length ){
|
61
|
-
Ink.requireModules( [modName], function( Component ) {
|
62
|
-
for (var i = 0, len = elements.length; i < len; i++) {
|
63
|
-
new Component(elements[i], Autoload.defaultOptions[modName]);
|
64
|
-
}
|
65
|
-
});
|
66
|
-
}
|
67
|
-
}
|
68
|
-
}
|
69
|
-
};
|
70
|
-
|
71
|
-
for (var k in Autoload.selectors) if (Autoload.selectors.hasOwnProperty(k)) {
|
72
|
-
Autoload.defaultOptions[k] = {};
|
73
|
-
}
|
74
|
-
|
75
|
-
if (!window.INK_NO_AUTO_LOAD) {
|
76
|
-
Autoload.run(document, {
|
77
|
-
waitForDOMLoaded: true,
|
78
|
-
createSmoothScroller: true,
|
79
|
-
createClose: true
|
80
|
-
});
|
81
|
-
Autoload.firstRunDone = true;
|
82
|
-
}
|
83
|
-
|
84
|
-
return Autoload;
|
85
|
-
});
|
86
|
-
|
@@ -1,11 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
HTML5 Shiv v3.7.0 | @afarkas @jdalton @jon_neal @rem | MIT/GPL2 Licensed
|
3
|
-
*/
|
4
|
-
(function(j,f){function s(a,b){var c=a.createElement("p"),m=a.getElementsByTagName("head")[0]||a.documentElement;c.innerHTML="x<style>"+b+"</style>";return m.insertBefore(c.lastChild,m.firstChild)}function o(){var a=d.elements;return"string"==typeof a?a.split(" "):a}function n(a){var b=t[a[u]];b||(b={},p++,a[u]=p,t[p]=b);return b}function v(a,b,c){b||(b=f);if(e)return b.createElement(a);c||(c=n(b));b=c.cache[a]?c.cache[a].cloneNode():y.test(a)?(c.cache[a]=c.createElem(a)).cloneNode():c.createElem(a);
|
5
|
-
return b.canHaveChildren&&!z.test(a)?c.frag.appendChild(b):b}function A(a,b){if(!b.cache)b.cache={},b.createElem=a.createElement,b.createFrag=a.createDocumentFragment,b.frag=b.createFrag();a.createElement=function(c){return!d.shivMethods?b.createElem(c):v(c,a,b)};a.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+o().join().replace(/\w+/g,function(a){b.createElem(a);b.frag.createElement(a);return'c("'+a+'")'})+");return n}")(d,b.frag)}
|
6
|
-
function w(a){a||(a=f);var b=n(a);if(d.shivCSS&&!q&&!b.hasCSS)b.hasCSS=!!s(a,"article,aside,dialog,figcaption,figure,footer,header,hgroup,main,nav,section{display:block}mark{background:#FF0;color:#000}template{display:none}");e||A(a,b);return a}function B(a){for(var b,c=a.attributes,m=c.length,f=a.ownerDocument.createElement(l+":"+a.nodeName);m--;)b=c[m],b.specified&&f.setAttribute(b.nodeName,b.nodeValue);f.style.cssText=a.style.cssText;return f}function x(a){function b(){clearTimeout(d._removeSheetTimer);
|
7
|
-
c&&c.removeNode(!0);c=null}var c,f,d=n(a),e=a.namespaces,j=a.parentWindow;if(!C||a.printShived)return a;"undefined"==typeof e[l]&&e.add(l);j.attachEvent("onbeforeprint",function(){b();var g,i,d;d=a.styleSheets;for(var e=[],h=d.length,k=Array(h);h--;)k[h]=d[h];for(;d=k.pop();)if(!d.disabled&&D.test(d.media)){try{g=d.imports,i=g.length}catch(j){i=0}for(h=0;h<i;h++)k.push(g[h]);try{e.push(d.cssText)}catch(n){}}g=e.reverse().join("").split("{");i=g.length;h=RegExp("(^|[\\s,>+~])("+o().join("|")+")(?=[[\\s,>+~#.:]|$)",
|
8
|
-
"gi");for(k="$1"+l+"\\:$2";i--;)e=g[i]=g[i].split("}"),e[e.length-1]=e[e.length-1].replace(h,k),g[i]=e.join("}");e=g.join("{");i=a.getElementsByTagName("*");h=i.length;k=RegExp("^(?:"+o().join("|")+")$","i");for(d=[];h--;)g=i[h],k.test(g.nodeName)&&d.push(g.applyElement(B(g)));f=d;c=s(a,e)});j.attachEvent("onafterprint",function(){for(var a=f,c=a.length;c--;)a[c].removeNode();clearTimeout(d._removeSheetTimer);d._removeSheetTimer=setTimeout(b,500)});a.printShived=!0;return a}var r=j.html5||{},z=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,
|
9
|
-
y=/^(?:a|b|code|div|fieldset|h1|h2|h3|h4|h5|h6|i|label|li|ol|p|q|span|strong|style|table|tbody|td|th|tr|ul)$/i,q,u="_html5shiv",p=0,t={},e;(function(){try{var a=f.createElement("a");a.innerHTML="<xyz></xyz>";q="hidden"in a;var b;if(!(b=1==a.childNodes.length)){f.createElement("a");var c=f.createDocumentFragment();b="undefined"==typeof c.cloneNode||"undefined"==typeof c.createDocumentFragment||"undefined"==typeof c.createElement}e=b}catch(d){e=q=!0}})();var d={elements:r.elements||"abbr article aside audio bdi canvas data datalist details dialog figcaption figure footer header hgroup main mark meter nav output progress section summary template time video",
|
10
|
-
version:"3.7.0",shivCSS:!1!==r.shivCSS,supportsUnknownElements:e,shivMethods:!1!==r.shivMethods,type:"default",shivDocument:w,createElement:v,createDocumentFragment:function(a,b){a||(a=f);if(e)return a.createDocumentFragment();for(var b=b||n(a),c=b.frag.cloneNode(),d=0,j=o(),l=j.length;d<l;d++)c.createElement(j[d]);return c}};j.html5=d;w(f);var D=/^$|\b(?:all|print)\b/,l="html5shiv",C=!e&&function(){var a=f.documentElement;return!("undefined"==typeof f.namespaces||"undefined"==typeof f.parentWindow||
|
11
|
-
"undefined"==typeof a.applyElement||"undefined"==typeof a.removeNode||"undefined"==typeof j.attachEvent)}();d.type+=" print";d.shivPrint=x;x(f)})(this,document);
|
data/app/assets/js/html5shiv.js
DELETED
@@ -1,8 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
HTML5 Shiv v3.7.0 | @afarkas @jdalton @jon_neal @rem | MIT/GPL2 Licensed
|
3
|
-
*/
|
4
|
-
(function(l,f){function m(){var a=e.elements;return"string"==typeof a?a.split(" "):a}function i(a){var b=n[a[o]];b||(b={},h++,a[o]=h,n[h]=b);return b}function p(a,b,c){b||(b=f);if(g)return b.createElement(a);c||(c=i(b));b=c.cache[a]?c.cache[a].cloneNode():r.test(a)?(c.cache[a]=c.createElem(a)).cloneNode():c.createElem(a);return b.canHaveChildren&&!s.test(a)?c.frag.appendChild(b):b}function t(a,b){if(!b.cache)b.cache={},b.createElem=a.createElement,b.createFrag=a.createDocumentFragment,b.frag=b.createFrag();
|
5
|
-
a.createElement=function(c){return!e.shivMethods?b.createElem(c):p(c,a,b)};a.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+m().join().replace(/[\w\-]+/g,function(a){b.createElem(a);b.frag.createElement(a);return'c("'+a+'")'})+");return n}")(e,b.frag)}function q(a){a||(a=f);var b=i(a);if(e.shivCSS&&!j&&!b.hasCSS){var c,d=a;c=d.createElement("p");d=d.getElementsByTagName("head")[0]||d.documentElement;c.innerHTML="x<style>article,aside,dialog,figcaption,figure,footer,header,hgroup,main,nav,section{display:block}mark{background:#FF0;color:#000}template{display:none}</style>";
|
6
|
-
c=d.insertBefore(c.lastChild,d.firstChild);b.hasCSS=!!c}g||t(a,b);return a}var k=l.html5||{},s=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,r=/^(?:a|b|code|div|fieldset|h1|h2|h3|h4|h5|h6|i|label|li|ol|p|q|span|strong|style|table|tbody|td|th|tr|ul)$/i,j,o="_html5shiv",h=0,n={},g;(function(){try{var a=f.createElement("a");a.innerHTML="<xyz></xyz>";j="hidden"in a;var b;if(!(b=1==a.childNodes.length)){f.createElement("a");var c=f.createDocumentFragment();b="undefined"==typeof c.cloneNode||
|
7
|
-
"undefined"==typeof c.createDocumentFragment||"undefined"==typeof c.createElement}g=b}catch(d){g=j=!0}})();var e={elements:k.elements||"abbr article aside audio bdi canvas data datalist details dialog figcaption figure footer header hgroup main mark meter nav output progress section summary template time video",version:"3.7.0",shivCSS:!1!==k.shivCSS,supportsUnknownElements:g,shivMethods:!1!==k.shivMethods,type:"default",shivDocument:q,createElement:p,createDocumentFragment:function(a,b){a||(a=f);
|
8
|
-
if(g)return a.createDocumentFragment();for(var b=b||i(a),c=b.frag.cloneNode(),d=0,e=m(),h=e.length;d<h;d++)c.createElement(e[d]);return c}};l.html5=e;q(f)})(this,document);
|