appcss 0.0.12 → 0.0.13

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 843c307a810349c1da54129d4dc1f91e967c0649
4
- data.tar.gz: 842a163ff38b3dfc70637b62c77c54e1237c5262
3
+ metadata.gz: 89d0dc217d55e1e1acc92183a81100cdad4563f9
4
+ data.tar.gz: 206e2d7d560cdac702e948a60aa0fa173945aced
5
5
  SHA512:
6
- metadata.gz: 13bee5b5af694aaee765a80dd89aea4794d35acc3b58c55e9d573e3ba1f565d5732f22bc78cddf8176c0f22287fe566e5a6a364f6df6bf9b3fd044deb5945d38
7
- data.tar.gz: ba526b257bfa5099947e7af9ee13b41fa59163d5a4735e602aca94a5d8c33b5f92ceb251f4bc01b03ec23450fb6595e53842a2c70631ace447df239d1461ddda
6
+ metadata.gz: e1dd764b4921c309c840000361540dc813b0932420ba6b9e80745934ebbd903abd1581e9add235626d18f9dfff907acc6fe72c71912840c69c12f0b6d6df00a3
7
+ data.tar.gz: f4e586e983730618147a7d9a82e0ad049296efc56d0be6cfcfdcc62caf1a0030b5efd633f8fc5af0d5a83850220b7468f5d77756a30d7ae77993ae19bade6b80
@@ -0,0 +1,75 @@
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);throw new Error("Cannot find module '"+o+"'")}var f=n[o]={exports:{}};t[o][0].call(f.exports,function(e){var n=t[o][1][e];return s(n?n:e)},f,f.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})({1:[function(require,module,exports){
2
+ var clickQuery = require('clickQuery');
3
+
4
+
5
+ },{"clickQuery":3}],2:[function(require,module,exports){
6
+ var env, modal, oneEvent;
7
+
8
+ env = 'dev';
9
+
10
+ require('../../browserify.js');
11
+
12
+ window.A = new Object();
13
+
14
+ A.debounceTimer = false;
15
+
16
+ A.debounceQueue = null;
17
+
18
+ A.debounce = function(fn, id) {
19
+ if (A.debounceQueue === null) {
20
+ A.debounceQueue = id;
21
+ }
22
+ if (id === A.debounceQueue) {
23
+ clearTimeout(A.debounceTimer);
24
+ }
25
+ return A.debounceTimer = setTimeout(function() {
26
+ fn();
27
+ return A.debounceQueue = null;
28
+ }, 1000);
29
+ };
30
+
31
+ oneEvent = function(selector, event, fn) {
32
+ var selectorClone;
33
+ if (selector) {
34
+ selectorClone = selector.cloneNode(true);
35
+ selector.parentNode.replaceChild(selectorClone, selector);
36
+ return selectorClone.addEventListener(event, fn);
37
+ }
38
+ };
39
+
40
+
41
+ /*
42
+ MODAL
43
+ */
44
+
45
+ modal = {
46
+ on: function(el, event) {
47
+ return oneEvent(el, event, function(e) {
48
+ $('.se-modal')[0].style.display = 'block';
49
+ return e.stopPropagation();
50
+ });
51
+ },
52
+ close: function() {
53
+ return $('.se-modal')[0].style.display = 'none';
54
+ }
55
+ };
56
+
57
+ $('body').click(function() {
58
+ if ($('.se-modal[style="display: block;"]').length) {
59
+ return $('.se-modal[style="display: block;"]').style.display = 'none';
60
+ }
61
+ });
62
+
63
+ $('.se-modal').click(function(e) {
64
+ return e.stopPropagation();
65
+ });
66
+
67
+
68
+ /*
69
+ GROWLS
70
+ */
71
+
72
+ },{"../../browserify.js":1}],3:[function(require,module,exports){
73
+ o=function(s){m=this;m.length=0;m.splice=Function;m.t=document.querySelectorAll(s);for(i=0;i<m.t.length;i++)m.push(m.t[i]);return m};r=o.prototype,p=Array.prototype,r.length=0,r.push=p.push,r.splice=p.splice;r.click=function(f){for(i=0,m=this;i<m.t.length;i++){z=m.t[i],z.addEventListener('click',f);}return m};$=function(s){return new o(s)}
74
+
75
+ },{}]},{},[2])
data/appcss-0.0.12.gem ADDED
Binary file
@@ -1,3 +1,3 @@
1
1
  module Appcss
2
- VERSION = "0.0.12"
2
+ VERSION = "0.0.13"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: appcss
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.12
4
+ version: 0.0.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adam Kochanowicz
@@ -50,11 +50,13 @@ files:
50
50
  - LICENSE.txt
51
51
  - README.md
52
52
  - Rakefile
53
+ - app/assets/javascripts/appcss/app.js
53
54
  - app/assets/stylesheets/appcss/app.css
54
55
  - app/assets/stylesheets/appcss/index.css
55
56
  - appcss-0.0.1.gem
56
57
  - appcss-0.0.10.gem
57
58
  - appcss-0.0.11.gem
59
+ - appcss-0.0.12.gem
58
60
  - appcss-0.0.2.gem
59
61
  - appcss-0.0.3.gem
60
62
  - appcss-0.0.4.gem