h2ocube_rails_assets 0.0.30 → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (80) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +63 -4
  3. data/Vendorfile +0 -89
  4. data/h2ocube_rails_assets.gemspec +2 -2
  5. data/vendor/assets/javascripts/jquery.js +1 -1
  6. data/vendor/assets/javascripts/sammy.js +3 -6
  7. metadata +2 -89
  8. data/vendor/assets/images/jquery.Jcrop/Jcrop.gif +0 -0
  9. data/vendor/assets/images/jquery.fancybox/blank.gif +0 -0
  10. data/vendor/assets/images/jquery.fancybox/fancybox_loading.gif +0 -0
  11. data/vendor/assets/images/jquery.fancybox/fancybox_loading@2x.gif +0 -0
  12. data/vendor/assets/images/jquery.fancybox/fancybox_overlay.png +0 -0
  13. data/vendor/assets/images/jquery.fancybox/fancybox_sprite.png +0 -0
  14. data/vendor/assets/images/jquery.fancybox/fancybox_sprite@2x.png +0 -0
  15. data/vendor/assets/images/jquery.ui/animated-overlay.gif +0 -0
  16. data/vendor/assets/images/jquery.ui/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  17. data/vendor/assets/images/jquery.ui/ui-bg_flat_75_ffffff_40x100.png +0 -0
  18. data/vendor/assets/images/jquery.ui/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
  19. data/vendor/assets/images/jquery.ui/ui-bg_glass_65_ffffff_1x400.png +0 -0
  20. data/vendor/assets/images/jquery.ui/ui-bg_glass_75_dadada_1x400.png +0 -0
  21. data/vendor/assets/images/jquery.ui/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
  22. data/vendor/assets/images/jquery.ui/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  23. data/vendor/assets/images/jquery.ui/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
  24. data/vendor/assets/images/jquery.ui/ui-icons_222222_256x240.png +0 -0
  25. data/vendor/assets/images/jquery.ui/ui-icons_2e83ff_256x240.png +0 -0
  26. data/vendor/assets/images/jquery.ui/ui-icons_454545_256x240.png +0 -0
  27. data/vendor/assets/images/jquery.ui/ui-icons_888888_256x240.png +0 -0
  28. data/vendor/assets/images/jquery.ui/ui-icons_cd0a0a_256x240.png +0 -0
  29. data/vendor/assets/javascripts/angular.js +0 -203
  30. data/vendor/assets/javascripts/backbone.js +0 -1
  31. data/vendor/assets/javascripts/highcharts.js +0 -294
  32. data/vendor/assets/javascripts/jquery-ui.js +0 -1
  33. data/vendor/assets/javascripts/jquery.Jcrop.js +0 -1694
  34. data/vendor/assets/javascripts/jquery.fancybox.js +0 -46
  35. data/vendor/assets/javascripts/jquery.mobile.js +0 -9
  36. data/vendor/assets/javascripts/jquery.timeago.coffee +0 -152
  37. data/vendor/assets/javascripts/jquery.turbolinks.coffee +0 -50
  38. data/vendor/assets/javascripts/jquery.ui.js +0 -14903
  39. data/vendor/assets/javascripts/jquery.ui/jquery.ui.accordion.js +0 -4
  40. data/vendor/assets/javascripts/jquery.ui/jquery.ui.autocomplete.js +0 -4
  41. data/vendor/assets/javascripts/jquery.ui/jquery.ui.button.js +0 -4
  42. data/vendor/assets/javascripts/jquery.ui/jquery.ui.core.js +0 -4
  43. data/vendor/assets/javascripts/jquery.ui/jquery.ui.datepicker.js +0 -5
  44. data/vendor/assets/javascripts/jquery.ui/jquery.ui.dialog.js +0 -4
  45. data/vendor/assets/javascripts/jquery.ui/jquery.ui.draggable.js +0 -4
  46. data/vendor/assets/javascripts/jquery.ui/jquery.ui.droppable.js +0 -4
  47. data/vendor/assets/javascripts/jquery.ui/jquery.ui.effect-blind.js +0 -4
  48. data/vendor/assets/javascripts/jquery.ui/jquery.ui.effect-bounce.js +0 -4
  49. data/vendor/assets/javascripts/jquery.ui/jquery.ui.effect-clip.js +0 -4
  50. data/vendor/assets/javascripts/jquery.ui/jquery.ui.effect-drop.js +0 -4
  51. data/vendor/assets/javascripts/jquery.ui/jquery.ui.effect-explode.js +0 -4
  52. data/vendor/assets/javascripts/jquery.ui/jquery.ui.effect-fade.js +0 -4
  53. data/vendor/assets/javascripts/jquery.ui/jquery.ui.effect-fold.js +0 -4
  54. data/vendor/assets/javascripts/jquery.ui/jquery.ui.effect-highlight.js +0 -4
  55. data/vendor/assets/javascripts/jquery.ui/jquery.ui.effect-pulsate.js +0 -4
  56. data/vendor/assets/javascripts/jquery.ui/jquery.ui.effect-scale.js +0 -4
  57. data/vendor/assets/javascripts/jquery.ui/jquery.ui.effect-shake.js +0 -4
  58. data/vendor/assets/javascripts/jquery.ui/jquery.ui.effect-slide.js +0 -4
  59. data/vendor/assets/javascripts/jquery.ui/jquery.ui.effect-transfer.js +0 -4
  60. data/vendor/assets/javascripts/jquery.ui/jquery.ui.effect.js +0 -4
  61. data/vendor/assets/javascripts/jquery.ui/jquery.ui.menu.js +0 -4
  62. data/vendor/assets/javascripts/jquery.ui/jquery.ui.mouse.js +0 -4
  63. data/vendor/assets/javascripts/jquery.ui/jquery.ui.position.js +0 -4
  64. data/vendor/assets/javascripts/jquery.ui/jquery.ui.progressbar.js +0 -4
  65. data/vendor/assets/javascripts/jquery.ui/jquery.ui.resizable.js +0 -4
  66. data/vendor/assets/javascripts/jquery.ui/jquery.ui.selectable.js +0 -4
  67. data/vendor/assets/javascripts/jquery.ui/jquery.ui.slider.js +0 -4
  68. data/vendor/assets/javascripts/jquery.ui/jquery.ui.sortable.js +0 -4
  69. data/vendor/assets/javascripts/jquery.ui/jquery.ui.spinner.js +0 -4
  70. data/vendor/assets/javascripts/jquery.ui/jquery.ui.tabs.js +0 -4
  71. data/vendor/assets/javascripts/jquery.ui/jquery.ui.tooltip.js +0 -4
  72. data/vendor/assets/javascripts/jquery.ui/jquery.ui.widget.js +0 -4
  73. data/vendor/assets/javascripts/modernizr.js +0 -1406
  74. data/vendor/assets/javascripts/underscore.js +0 -5
  75. data/vendor/assets/javascripts/zepto.all.js +0 -2
  76. data/vendor/assets/stylesheets/jquery.Jcrop.scss +0 -165
  77. data/vendor/assets/stylesheets/jquery.fancybox.scss +0 -274
  78. data/vendor/assets/stylesheets/jquery.mobile.scss +0 -3
  79. data/vendor/assets/stylesheets/jquery.ui.scss +0 -4
  80. data/vendor/assets/stylesheets/normalize.css +0 -402
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d253031ec04f805a448c57226bd7c736635fa141
4
- data.tar.gz: f76ddd047a3a397a6f0e082583a432267289a64d
3
+ metadata.gz: f72efebc1665c52d359c64e1b84c24c309b3b523
4
+ data.tar.gz: a2590b7311450779f5a2a617b6732f3c0d93f7d1
5
5
  SHA512:
6
- metadata.gz: 41a50ff954469963828ddcf44a43b9e1cf3aa0a1f81b0c83a8f0328288ccdeeb36247d3b7d681ab3a33bbd3e64e12a9e67163bcf4a5f320a97111d5ea7702156
7
- data.tar.gz: 13f14b43617d5533cdf8c11c92fa1165e451fb6bd1a21521a8b5487e07511caf81aca112aa25489408a830a5017e4ee5dbb4726a83dfa1d6da5dce79c54ef5ef
6
+ metadata.gz: 90306d5d0244916d3f8a32115befeb296cebd0958f226073ac51fe3eaba1ae5aa9567295c23baed0f6275dcdca485459cbced9d232853548fd37b26503c2d9ea
7
+ data.tar.gz: 9a63a90297ef7f57ff1a986a0fa0ced9b76ea186f30290f8b4b8ece92a128e5081f12a65f0137afd0c97f64f9b8a860a80cb5e963f5bf274657d09e1fb23f6fd
data/README.md CHANGED
@@ -34,16 +34,12 @@ Or install it yourself as:
34
34
  #=require jquery.lazyload
35
35
  #=require bootstrap
36
36
  #=require bootstrap3
37
- #=require underscore
38
37
  #=require sammy
39
38
  #=require modernizr
40
39
  #=require lazyload
41
40
  #=require zepto
42
41
  #=require zepto.all
43
42
  #=require highcharts
44
- #=require backbone
45
- #=require turbolinks
46
- #=require jquery.turbolinks
47
43
  #=require semantic
48
44
  #=require angular
49
45
 
@@ -71,6 +67,69 @@ Or install it yourself as:
71
67
  * turbolinks https://github.com/rails/turbolinks
72
68
  * font-awesome-rails https://github.com/bokmann/font-awesome-rails
73
69
 
70
+ ## Other Useful Gems
71
+
72
+ * Backbone & Underscore https://github.com/codebrew/backbone-rails
73
+
74
+ gem 'rails-backbone'
75
+
76
+ #= require underscore
77
+ #= require backbone
78
+
79
+ * Turbolinks https://github.com/rails/turbolinks & jquery.turbolinks https://github.com/kossnocorp/jquery.turbolinks
80
+
81
+ gem 'turbolinks'
82
+ gem 'jquery-turbolinks'
83
+
84
+ #= require jquery.turbolinks
85
+ #= require turbolinks
86
+
87
+ * jQuery UI https://github.com/joliss/jquery-ui-rails
88
+
89
+ gem 'jquery-ui-rails'
90
+
91
+ #= require jquery.ui.all
92
+
93
+ @import jquery.ui.all
94
+
95
+ * jQuery Mobile https://github.com/dmarkow/jquery-mobile-rails
96
+
97
+ gem 'jquery_mobile_rails'
98
+
99
+ #= require jquery.mobile
100
+
101
+ @import jquery.mobile
102
+
103
+ * jQuery Timeago https://github.com/jgraichen/rails-timeago
104
+
105
+ gem 'rails-timeago'
106
+
107
+ #= require rails-timeago
108
+
109
+ * Fancybox https://github.com/kyparn/fancybox2-rails
110
+
111
+ gem 'fancybox2-rails'
112
+
113
+ #= require fancybox
114
+
115
+ * Modernizr https://github.com/russfrisch/modernizr-rails
116
+
117
+ gem 'modernizr-rails'
118
+
119
+ #= require modernizr
120
+
121
+ * AngularJS https://github.com/hiravgandhi/angularjs-rails
122
+
123
+ gem 'angularjs-rails'
124
+
125
+ #= require angular
126
+
127
+ * Highcharts https://github.com/PerfectlyNormal/highcharts-rails
128
+
129
+ gem 'highcharts-rails'
130
+
131
+ #= require highcharts
132
+
74
133
  ## Contributing
75
134
 
76
135
  1. Fork it
data/Vendorfile CHANGED
@@ -54,53 +54,6 @@ get "#{vendor_js}jquery/1.9.js", 'http://code.jquery.com/jquery-1.9.1.min.js'
54
54
  get "#{vendor_js}jquery/1.10.js", 'http://code.jquery.com/jquery-1.11.0.min.js'
55
55
  get "#{vendor_js}jquery/2.0.js", 'http://code.jquery.com/jquery-2.1.0.min.js'
56
56
 
57
- # jquery ui
58
- version = 'jquery-ui-1.10.4'
59
- get_zip "#{vendor_tmp}jquery.ui", "http://jqueryui.com/resources/download/#{version}.zip"
60
- %w{accordion autocomplete button core datepicker dialog draggable droppable effect-blind effect-bounce effect-clip effect-drop effect-explode effect-fade effect-fold effect-highlight effect-pulsate effect-scale effect-shake effect-slide effect-transfer effect menu mouse position progressbar resizable selectable slider sortable spinner tabs tooltip widget}.each do |f|
61
- FileUtils.cp "#{vendor_tmp}jquery.ui/#{version}/ui/minified/jquery.ui.#{f}.min.js", "#{vendor_js}jquery.ui/jquery.ui.#{f}.js"
62
- end
63
-
64
- FileUtils.cp "#{vendor_tmp}jquery.ui/#{version}/themes/base/minified/jquery-ui.min.css", "#{vendor_css}jquery.ui.scss"
65
-
66
- body = File.read("#{vendor_css}jquery.ui.scss").gsub(/url\(images\/[^\.]+\.(gif|png)\)/){ |s|
67
- filename = s.gsub('url(images/', '').gsub(')', '')
68
- "image-url(\"jquery.ui/#{filename}\")"
69
- }
70
-
71
- File.open("#{vendor_css}jquery.ui.scss", 'w') do |f|
72
- f.write body
73
- end
74
-
75
- cp_img "#{vendor_img}jquery.ui", "#{vendor_tmp}jquery.ui/#{version}/themes/base/images"
76
-
77
- FileUtils.rm "#{vendor_tmp}jquery.ui.zip"
78
- FileUtils.remove_dir "#{vendor_tmp}jquery.ui"
79
-
80
- # jquery mobile
81
- version = '1.4.1'
82
- get_zip "#{vendor_tmp}jquery.mobile", "http://jquerymobile.com/resources/download/jquery.mobile-#{version}.zip"
83
-
84
- FileUtils.cp "#{vendor_tmp}jquery.mobile/jquery.mobile-#{version}.min.js", "#{vendor_js}jquery.mobile.js"
85
- FileUtils.cp "#{vendor_tmp}jquery.mobile/jquery.mobile-#{version}.min.css", "#{vendor_css}jquery.mobile.scss"
86
-
87
- body = File.read("#{vendor_css}jquery.mobile.scss").gsub(/url\(images\/[^\.]+\.(gif|png)\)/){ |s|
88
- filename = s.gsub('url(images/', '').gsub(')', '')
89
- "image-url(\"jquery.mobile/#{filename}\")"
90
- }
91
-
92
- File.open("#{vendor_css}jquery.mobile.scss", 'w') do |f|
93
- f.write body
94
- end
95
-
96
- cp_img "#{vendor_img}jquery.mobile", "#{vendor_tmp}jquery.mobile/#{version}/themes/base/images"
97
-
98
- FileUtils.rm "#{vendor_tmp}jquery.mobile.zip"
99
- FileUtils.remove_dir "#{vendor_tmp}jquery.mobile"
100
-
101
- # jquery timeago
102
- get "#{vendor_js}jquery.timeago.coffee", 'https://rawgithub.com/pragmaticly/smart-time-ago/master/src/timeago.coffee'
103
-
104
57
  # jquery cookie
105
58
  get "#{vendor_js}jquery.cookie.js", 'https://rawgithub.com/carhartl/jquery-cookie/master/jquery.cookie.js'
106
59
 
@@ -118,29 +71,6 @@ version = '1.2.0'
118
71
  get "#{vendor_js}jquery.pnotify.js", "https://rawgithub.com/sciactive/pnotify/#{version}/jquery.pnotify.min.js"
119
72
  get "#{vendor_css}jquery.pnotify.css", "https://rawgithub.com/sciactive/pnotify/#{version}/jquery.pnotify.default.css"
120
73
 
121
- # jquery fancybox
122
- version = '2.1.5'
123
- get_zip "#{vendor_tmp}jquery.fancybox", "https://github.com/fancyapps/fancyBox/zipball/v#{version}"
124
-
125
- dir = Dir["#{vendor_tmp}jquery.fancybox/*/source"][0]
126
-
127
- FileUtils.cp "#{dir}/jquery.fancybox.pack.js", "#{vendor_js}jquery.fancybox.js"
128
- FileUtils.cp "#{dir}/jquery.fancybox.css", "#{vendor_css}jquery.fancybox.scss"
129
-
130
- body = File.read("#{vendor_css}jquery.fancybox.scss").gsub(/url\([^\)]+\)/){ |s|
131
- filename = s.gsub('url(\'', '').gsub('\')', '')
132
- "image-url(\"jquery.fancybox/#{filename}\")"
133
- }
134
-
135
- File.open("#{vendor_css}jquery.fancybox.scss", 'w') do |f|
136
- f.write body
137
- end
138
-
139
- cp_img "#{vendor_img}jquery.fancybox", dir
140
-
141
- FileUtils.rm "#{vendor_tmp}jquery.fancybox.zip"
142
- FileUtils.remove_dir "#{vendor_tmp}jquery.fancybox"
143
-
144
74
  # jquery lazyload
145
75
  get "#{vendor_js}jquery.lazyload.js", 'https://rawgithub.com/tuupola/jquery_lazyload/master/jquery.lazyload.min.js'
146
76
 
@@ -186,15 +116,9 @@ cp_img "#{vendor_img}bootstrap3", "#{vendor_tmp}bootstrap3/bootstrap-#{version}-
186
116
  FileUtils.rm "#{vendor_tmp}bootstrap3.zip"
187
117
  FileUtils.remove_dir "#{vendor_tmp}bootstrap3"
188
118
 
189
- # underscore
190
- get "#{vendor_js}underscore.js", 'http://underscorejs.org/underscore-min.js'
191
-
192
119
  # sammy
193
120
  get "#{vendor_js}sammy.js", 'https://rawgithub.com/quirkey/sammy/master/lib/min/sammy-latest.min.js'
194
121
 
195
- # modernizr
196
- get "#{vendor_js}modernizr.js", 'http://modernizr.com/downloads/modernizr-latest.js'
197
-
198
122
  # lazyload
199
123
  version = '2.0.3'
200
124
  get "#{vendor_js}lazyload.js", "https://github.com/rgrove/lazyload/raw/release-#{version}/lazyload-min.js"
@@ -209,19 +133,6 @@ FileUtils.rm Dir.glob("#{vendor_js}zepto/*")
209
133
  get "#{vendor_js}zepto/#{name}.js", "https://rawgithub.com/madrobby/zepto/v#{version}/src/#{name}.js"
210
134
  end
211
135
 
212
- # highcharts
213
- get "#{vendor_js}highcharts.js", 'http://code.highcharts.com/highcharts.js'
214
-
215
- # backbone
216
- get "#{vendor_js}backbone.js", 'http://backbonejs.org/backbone-min.js'
217
-
218
- # jquery.turbolinks
219
- get "#{vendor_js}jquery.turbolinks.coffee", 'https://rawgithub.com/kossnocorp/jquery.turbolinks/master/src/jquery.turbolinks.coffee'
220
-
221
- # AngularJS
222
- version = '1.2.13'
223
- get "#{vendor_js}angular.js", "https://ajax.googleapis.com/ajax/libs/angularjs/#{version}/angular.min.js"
224
-
225
136
  # jQuery-ujs
226
137
  get "#{vendor_js}jquery.ujs.js", 'https://raw.github.com/indirect/jquery-rails/master/vendor/assets/javascripts/jquery_ujs.js'
227
138
 
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
4
 
5
5
  Gem::Specification.new do |gem|
6
6
  gem.name = 'h2ocube_rails_assets'
7
- gem.version = '0.0.30'
7
+ gem.version = '0.1.0'
8
8
  gem.authors = ['Ben']
9
9
  gem.email = ['ben@h2ocube.com']
10
10
  gem.description = %q{Just an assets collection}
@@ -17,7 +17,7 @@ Gem::Specification.new do |gem|
17
17
  gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
18
18
  gem.require_paths = ["lib"]
19
19
 
20
- %w(slim sass-rails compass-rails coffee-rails therubyracer uglifier quiet_assets turbolinks font-awesome-rails).each{ |g| gem.add_dependency g }
20
+ %w(slim sass-rails compass-rails coffee-rails therubyracer uglifier quiet_assets font-awesome-rails).each{ |g| gem.add_dependency g }
21
21
 
22
22
  %w(minitest capybara rubyzip vendorer).each{ |g| gem.add_development_dependency g }
23
23
  gem.add_development_dependency 'rails', '~> 3.2'
@@ -1 +1 @@
1
- //= require jquery/1.10
1
+ //= require jquery/2.0
@@ -1,8 +1,5 @@
1
1
  // -- Sammy.js -- /sammy.js
2
2
  // http://sammyjs.org
3
- // Version: 0.7.4
4
- // Built: 2013-01-27 13:34:16 -0500
5
- // name: sammy
6
- // version: 0.7.4
7
- // Sammy.js / http://sammyjs.org
8
- (function(e,t){(function(n){typeof define=="function"&&define.amd?define(["jquery"],n):e.sammy=t.Sammy=n(e)})(function(e){var n,r="([^/]+)",i=/:([\w\d]+)/g,s=/\?([^#]*)?$/,o=function(e){return Array.prototype.slice.call(e)},u=function(e){return Object.prototype.toString.call(e)==="[object Function]"},a=function(e){return Object.prototype.toString.call(e)==="[object Array]"},f=function(e){return Object.prototype.toString.call(e)==="[object RegExp]"},l=function(e){return decodeURIComponent((e||"").replace(/\+/g," "))},c=encodeURIComponent,h=function(e){return String(e).replace(/&(?!\w+;)/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;")},p=function(e){return function(){return this.route.apply(this,[e].concat(Array.prototype.slice.call(arguments)))}},d={},v=!!t.history&&!!history.pushState,m=[];return n=function(){var t=o(arguments),r,i;n.apps=n.apps||{};if(t.length===0||t[0]&&u(t[0]))return n.apply(n,["body"].concat(t));if(typeof (i=t.shift())=="string")return r=n.apps[i]||new n.Application,r.element_selector=i,t.length>0&&e.each(t,function(e,t){r.use(t)}),r.element_selector!=i&&delete n.apps[i],n.apps[r.element_selector]=r,r},n.VERSION="0.7.4",n.addLogger=function(e){m.push(e)},n.log=function(){var t=o(arguments);t.unshift("["+Date()+"]"),e.each(m,function(e,r){r.apply(n,t)})},typeof t.console!="undefined"?u(t.console.log.apply)?n.addLogger(function(){t.console.log.apply(t.console,arguments)}):n.addLogger(function(){t.console.log(arguments)}):typeof console!="undefined"&&n.addLogger(function(){console.log.apply(console,arguments)}),e.extend(n,{makeArray:o,isFunction:u,isArray:a}),n.Object=function(t){return e.extend(this,t||{})},e.extend(n.Object.prototype,{escapeHTML:h,h:h,toHash:function(){var t={};return e.each(this,function(e,n){u(n)||(t[e]=n)}),t},toHTML:function(){var t="";return e.each(this,function(e,n){u(n)||(t+="<strong>"+e+"</strong> "+n+"<br />")}),t},keys:function(e){var t=[];for(var n in this)(!u(this[n])||!e)&&t.push(n);return t},has:function(t){return this[t]&&e.trim(this[t].toString())!==""},join:function(){var e=o(arguments),t=e.shift();return e.join(t)},log:function(){n.log.apply(n,arguments)},toString:function(t){var n=[];return e.each(this,function(e,r){(!u(r)||t)&&n.push('"'+e+'": '+r.toString())}),"Sammy.Object: {"+n.join(",")+"}"}}),n.targetIsThisWindow=function(r){var i=e(r.target).attr("target");return!i||i===t.name||i==="_self"?!0:i==="_blank"?!1:i==="top"&&t===t.top?!0:!1},n.DefaultLocationProxy=function(e,t){this.app=e,this.is_native=!1,this.has_history=v,this._startPolling(t)},n.DefaultLocationProxy.fullPath=function(e){var t=e.toString().match(/^[^#]*(#.+)$/),n=t?t[1]:"";return[e.pathname,e.search,n].join("")},e.extend(n.DefaultLocationProxy.prototype,{bind:function(){var r=this,i=this.app,s=n.DefaultLocationProxy;e(t).bind("hashchange."+this.app.eventNamespace(),function(e,n){r.is_native===!1&&!n&&(r.is_native=!0,t.clearInterval(s._interval),s._interval=null),i.trigger("location-changed")}),v&&!i.disable_push_state&&(e(t).bind("popstate."+this.app.eventNamespace(),function(e){i.trigger("location-changed")}),e(document).delegate("a","click.history-"+this.app.eventNamespace(),function(e){if(e.isDefaultPrevented()||e.metaKey||e.ctrlKey)return;var o=s.fullPath(this);if(this.hostname==t.location.hostname&&i.lookupRoute("get",o)&&n.targetIsThisWindow(e))return e.preventDefault(),r.setLocation(o),!1})),s._bindings||(s._bindings=0),s._bindings++},unbind:function(){e(t).unbind("hashchange."+this.app.eventNamespace()),e(t).unbind("popstate."+this.app.eventNamespace()),e(document).undelegate("a","click.history-"+this.app.eventNamespace()),n.DefaultLocationProxy._bindings--,n.DefaultLocationProxy._bindings<=0&&(t.clearInterval(n.DefaultLocationProxy._interval),n.DefaultLocationProxy._interval=null)},getLocation:function(){return n.DefaultLocationProxy.fullPath(t.location)},setLocation:function(e){/^([^#\/]|$)/.test(e)&&(v&&!this.app.disable_push_state?e="/"+e:e="#!/"+e);if(e!=this.getLocation()){if(!(v&&!this.app.disable_push_state&&/^\//.test(e)))return t.location=e;history.pushState({path:e},t.title,e),this.app.trigger("location-changed")}},_startPolling:function(r){var i=this;if(!n.DefaultLocationProxy._interval){r||(r=10);var s=function(){var r=i.getLocation();(typeof n.DefaultLocationProxy._last_location=="undefined"||r!=n.DefaultLocationProxy._last_location)&&t.setTimeout(function(){e(t).trigger("hashchange",[!0])},0),n.DefaultLocationProxy._last_location=r};s(),n.DefaultLocationProxy._interval=t.setInterval(s,r)}}}),n.Application=function(e){var t=this;this.routes={},this.listeners=new n.Object({}),this.arounds=[],this.befores=[],this.namespace=(new Date).getTime()+"-"+parseInt(Math.random()*1e3,10),this.context_prototype=function(){n.EventContext.apply(this,arguments)},this.context_prototype.prototype=new n.EventContext,u(e)&&e.apply(this,[this]),this._location_proxy||this.setLocationProxy(new n.DefaultLocationProxy(this,this.run_interval_every)),this.debug&&this.bindToAllEvents(function(e,n){t.log(t.toString(),e.cleaned_type,n||{})})},n.Application.prototype=e.extend({},n.Object.prototype,{ROUTE_VERBS:["get","post","put","delete"],APP_EVENTS:["run","unload","lookup-route","run-route","route-found","event-context-before","event-context-after","changed","error","check-form-submission","redirect","location-changed"],_last_route:null,_location_proxy:null,_running:!1,element_selector:"body",debug:!1,raise_errors:!1,run_interval_every:50,disable_push_state:!1,template_engine:null,toString:function(){return"Sammy.Application:"+this.element_selector},$element:function(t){return t?e(this.element_selector).find(t):e(this.element_selector)},use:function(){var e=o(arguments),t=e.shift(),r=t||"";try{e.unshift(this),typeof t=="string"&&(r="Sammy."+t,t=n[t]),t.apply(this,e)}catch(i){typeof t=="undefined"?this.error("Plugin Error: called use() but plugin ("+r.toString()+") is not defined",i):u(t)?this.error("Plugin Error",i):this.error("Plugin Error: called use() but '"+r.toString()+"' is not a function",i)}return this},setLocationProxy:function(e){var t=this._location_proxy;this._location_proxy=e,this.isRunning()&&(t&&t.unbind(),this._location_proxy.bind())},log:function(){n.log.apply(n,Array.prototype.concat.apply([this.element_selector],arguments))},route:function(t,n){var s=this,o=[],a,f,l=Array.prototype.slice.call(arguments,2);l.length===0&&u(n)&&(n=t,l=[n],t="any"),t=t.toLowerCase();if(n.constructor==String){i.lastIndex=0;while((f=i.exec(n))!==null)o.push(f[1]);n=new RegExp(n.replace(i,r)+"$")}return e.each(l,function(e,t){typeof t=="string"&&(l[e]=s[t])}),a=function(e){var t={verb:e,path:n,callback:l,param_names:o};s.routes[e]=s.routes[e]||[],s.routes[e].push(t)},t==="any"?e.each(this.ROUTE_VERBS,function(e,t){a(t)}):a(t),this},get:p("get"),post:p("post"),put:p("put"),del:p("delete"),any:p("any"),mapRoutes:function(t){var n=this;return e.each(t,function(e,t){n.route.apply(n,t)}),this},eventNamespace:function(){return["sammy-app",this.namespace].join("-")},bind:function(e,t,n){var r=this;typeof n=="undefined"&&(n=t);var i=function(){var e,t,i;e=arguments[0],i=arguments[1],i&&i.context?(t=i.context,delete i.context):t=new r.context_prototype(r,"bind",e.type,i,e.target),e.cleaned_type=e.type.replace(r.eventNamespace(),""),n.apply(t,[e,i])};return this.listeners[e]||(this.listeners[e]=[]),this.listeners[e].push(i),this.isRunning()&&this._listen(e,i),this},trigger:function(e,t){return this.$element().trigger([e,this.eventNamespace()].join("."),[t]),this},refresh:function(){return this.last_location=null,this.trigger("location-changed"),this},before:function(e,t){return u(e)&&(t=e,e={}),this.befores.push([e,t]),this},after:function(e){return this.bind("event-context-after",e)},around:function(e){return this.arounds.push(e),this},onComplete:function(e){return this._onComplete=e,this},isRunning:function(){return this._running},helpers:function(t){return e.extend(this.context_prototype.prototype,t),this},helper:function(e,t){return this.context_prototype.prototype[e]=t,this},run:function(r){if(this.isRunning())return!1;var i=this;return e.each(this.listeners.toHash(),function(t,n){e.each(n,function(e,n){i._listen(t,n)})}),this.trigger("run",{start_url:r}),this._running=!0,this.last_location=null,!/\#(.+)/.test(this.getLocation())&&typeof r!="undefined"&&this.setLocation(r),this._checkLocation(),this._location_proxy.bind(),this.bind("location-changed",function(){i._checkLocation()}),this.bind("submit",function(t){if(!n.targetIsThisWindow(t))return!0;var r=i._checkFormSubmission(e(t.target).closest("form"));return r===!1?t.preventDefault():!1}),e(t).bind("unload",function(){i.unload()}),this.trigger("changed")},unload:function(){if(!this.isRunning())return!1;var t=this;return this.trigger("unload"),this._location_proxy.unbind(),this.$element().unbind("submit").removeClass(t.eventNamespace()),e.each(this.listeners.toHash(),function(n,r){e.each(r,function(e,r){t._unlisten(n,r)})}),this._running=!1,this},destroy:function(){return this.unload(),delete n.apps[this.element_selector],this},bindToAllEvents:function(t){var n=this;return e.each(this.APP_EVENTS,function(e,r){n.bind(r,t)}),e.each(this.listeners.keys(!0),function(r,i){e.inArray(i,n.APP_EVENTS)==-1&&n.bind(i,t)}),this},routablePath:function(e){return e.replace(s,"")},lookupRoute:function(e,t){var n=this,r=!1,i=0,s,o;if(typeof this.routes[e]!="undefined"){s=this.routes[e].length;for(;i<s;i++){o=this.routes[e][i];if(n.routablePath(t).match(o.path)){r=o;break}}}return r},runRoute:function(t,n,r,i){var s=this,o=this.lookupRoute(t,n),u,a,f,c,h,p,d,v,m;this.debug&&this.log("runRoute",[t,n].join(" ")),this.trigger("run-route",{verb:t,path:n,params:r}),typeof r=="undefined"&&(r={}),e.extend(r,this._parseQueryString(n));if(o){this.trigger("route-found",{route:o}),(v=o.path.exec(this.routablePath(n)))!==null&&(v.shift(),e.each(v,function(e,t){o.param_names[e]?r[o.param_names[e]]=l(t):(r.splat||(r.splat=[]),r.splat.push(l(t)))})),u=new this.context_prototype(this,t,n,r,i),f=this.arounds.slice(0),h=this.befores.slice(0),d=[u],r.splat&&(d=d.concat(r.splat)),a=function(){var e,t,n;while(h.length>0){p=h.shift();if(s.contextMatchesOptions(u,p[0])){e=p[1].apply(u,[u]);if(e===!1)return!1}}return s.last_route=o,u.trigger("event-context-before",{context:u}),typeof o.callback=="function"&&(o.callback=[o.callback]),o.callback&&o.callback.length&&(t=-1,n=function(){t++,o.callback[t]?e=o.callback[t].apply(u,d):s._onComplete&&typeof (s._onComplete==="function")&&s._onComplete(u)},d.push(n),n()),u.trigger("event-context-after",{context:u}),e},e.each(f.reverse(),function(e,t){var n=a;a=function(){return t.apply(u,[n])}});try{m=a()}catch(g){this.error(["500 Error",t,n].join(" "),g)}return m}return this.notFound(t,n)},contextMatchesOptions:function(t,n,r){var i=n;if(typeof i=="string"||f(i))i={path:i};typeof r=="undefined"&&(r=!0);if(e.isEmptyObject(i))return!0;if(a(i.path)){var s,o,u,l;s=[];for(o=0,l=i.path.length;o<l;o+=1)u=e.extend({},i,{path:i.path[o]}),s.push(this.contextMatchesOptions(t,u));var c=e.inArray(!0,s)>-1?!0:!1;return r?c:!c}if(i.only)return this.contextMatchesOptions(t,i.only,!0);if(i.except)return this.contextMatchesOptions(t,i.except,!1);var h=!0,p=!0;return i.path&&(f(i.path)||(i.path=new RegExp(i.path.toString()+"$")),h=i.path.test(t.path)),i.verb&&(typeof i.verb=="string"?p=i.verb===t.verb:p=i.verb.indexOf(t.verb)>-1),r?p&&h:!p||!h},getLocation:function(){return this._location_proxy.getLocation()},setLocation:function(e){return this._location_proxy.setLocation(e)},swap:function(e,t){var n=this.$element().html(e);return u(t)&&t(e),n},templateCache:function(e,t){return typeof t!="undefined"?d[e]=t:d[e]},clearTemplateCache:function(){return d={}},notFound:function(e,t){var n=this.error(["404 Not Found",e,t].join(" "));return e==="get"?n:!0},error:function(e,t){t||(t=new Error),t.message=[e,t.message].join(" "),this.trigger("error",{message:t.message,error:t});if(this.raise_errors)throw t;this.log(t.message,t)},_checkLocation:function(){var e,t;e=this.getLocation();if(!this.last_location||this.last_location[0]!="get"||this.last_location[1]!=e)this.last_location=["get",e],t=this.runRoute("get",e);return t},_getFormVerb:function(t){var n=e(t),r,i;i=n.find('input[name="_method"]'),i.length>0&&(r=i.val()),r||(r=n[0].getAttribute("method"));if(!r||r==="")r="get";return e.trim(r.toString().toLowerCase())},_checkFormSubmission:function(t){var n,r,i,s,o;return this.trigger("check-form-submission",{form:t}),n=e(t),r=n.attr("action")||"",i=this._getFormVerb(n),this.debug&&this.log("_checkFormSubmission",n,r,i),i==="get"?(s=this._serializeFormParams(n),s!==""&&(r+="?"+s),this.setLocation(r),o=!1):(s=e.extend({},this._parseFormParams(n)),o=this.runRoute(i,r,s,t.get(0))),typeof o=="undefined"?!1:o},_serializeFormParams:function(e){var t="",n=e.serializeArray(),r;if(n.length>0){t=this._encodeFormPair(n[0].name,n[0].value);for(r=1;r<n.length;r++)t=t+"&"+this._encodeFormPair(n[r].name,n[r].value)}return t},_encodeFormPair:function(e,t){return c(e)+"="+c(t)},_parseFormParams:function(e){var t={},n=e.serializeArray(),r;for(r=0;r<n.length;r++)t=this._parseParamPair(t,n[r].name,n[r].value);return t},_parseQueryString:function(e){var t={},n,r,i,o;n=e.match(s);if(n&&n[1]){r=n[1].split("&");for(o=0;o<r.length;o++)i=r[o].split("="),t=this._parseParamPair(t,l(i[0]),l(i[1]||""))}return t},_parseParamPair:function(e,t,n){return typeof e[t]!="undefined"?a(e[t])?e[t].push(n):e[t]=[e[t],n]:e[t]=n,e},_listen:function(e,t){return this.$element().bind([e,this.eventNamespace()].join("."),t)},_unlisten:function(e,t){return this.$element().unbind([e,this.eventNamespace()].join("."),t)}}),n.RenderContext=function(e){this.event_context=e,this.callbacks=[],this.previous_content=null,this.content=null,this.next_engine=!1,this.waiting=!1},n.RenderContext.prototype=e.extend({},n.Object.prototype,{then:function(e){if(!u(e)){if(!(typeof e=="string"&&e in this.event_context))return this;var n=this.event_context[e];e=function(e){return n.apply(this.event_context,[e])}}var r=this;return this.waiting?this.callbacks.push(e):(this.wait(),t.setTimeout(function(){var t=e.apply(r,[r.content,r.previous_content]);t!==!1&&r.next(t)},0)),this},wait:function(){this.waiting=!0},next:function(e){this.waiting=!1,typeof e!="undefined"&&(this.previous_content=this.content,this.content=e),this.callbacks.length>0&&this.then(this.callbacks.shift())},load:function(t,n,r){var i=this;return this.then(function(){var s,o,a,f;u(n)?(r=n,n={}):n=e.extend({},n),r&&this.then(r);if(typeof t=="string")return a=t.match(/\.json$/)||n.json,s=a?n.cache===!0:n.cache!==!1,i.next_engine=i.event_context.engineFor(t),delete n.cache,delete n.json,n.engine&&(i.next_engine=n.engine,delete n.engine),s&&(o=this.event_context.app.templateCache(t))?o:(this.wait(),e.ajax(e.extend({url:t,data:{},dataType:a?"json":"text",type:"get",success:function(e){s&&i.event_context.app.templateCache(t,e),i.next(e)}},n)),!1);if(t.nodeType)return t.innerHTML;if(t.selector)return i.next_engine=t.attr("data-engine"),n.clone===!1?t.remove()[0].innerHTML.toString():t[0].innerHTML.toString()})},loadPartials:function(e){var t;if(e){this.partials=this.partials||{};for(t in e)(function(t,n){t.load(e[n]).then(function(e){this.partials[n]=e})})(this,t)}return this},render:function(e,t,n,r){return u(e)&&!t?this.then(e):(u(t)?(r=n,n=t,t=null):n&&!u(n)&&(r=n,n=null),this.loadPartials(r).load(e).interpolate(t,e).then(n))},partial:function(e,t,n,r){return u(n)?this.render(e,t,r).swap(n):u(t)?this.render(e,{},n).swap(t):this.render(e,t,n).swap()},send:function(){var e=this,t=o(arguments),n=t.shift();return a(t[0])&&(t=t[0]),this.then(function(r){return t.push(function(t){e.next(t)}),e.wait(),n.apply(n,t),!1})},collect:function(t,n,r){var i=this,s=function(){u(t)&&(n=t,t=this.content);var r=[],s=!1;return e.each(t,function(e,t){var o=n.apply(i,[e,t]);return o.jquery&&o.length==1&&(o=o[0],s=!0),r.push(o),o}),s?r:r.join("")};return r?s():this.then(s)},renderEach:function(t,n,r,i){return a(n)&&(i=r,r=n,n=null),this.load(t).then(function(s){var o=this;r||(r=a(this.previous_content)?this.previous_content:[]);if(!i)return this.collect(r,function(e,r){var i={},o=this.next_engine||t;return n?i[n]=r:i=r,this.event_context.interpolate(s,i,o)},!0);e.each(r,function(e,r){var u={},a=this.next_engine||t;n?u[n]=r:u=r,i(r,o.event_context.interpolate(s,u,a))})})},interpolate:function(e,t,n){var r=this;return this.then(function(i,s){!e&&s&&(e=s),this.next_engine&&(t=this.next_engine,this.next_engine=!1);var o=r.event_context.interpolate(i,e,t,this.partials);return n?s+o:o})},swap:function(e){return this.then(function(t){return this.event_context.swap(t,e),t}).trigger("changed",{})},appendTo:function(t){return this.then(function(n){e(t).append(n)}).trigger("changed",{})},prependTo:function(t){return this.then(function(n){e(t).prepend(n)}).trigger("changed",{})},replace:function(t){return this.then(function(n){e(t).html(n)}).trigger("changed",{})},trigger:function(e,t){return this.then(function(n){return typeof t=="undefined"&&(t={content:n}),this.event_context.trigger(e,t),n})}}),n.EventContext=function(e,t,r,i,s){this.app=e,this.verb=t,this.path=r,this.params=new n.Object(i),this.target=s},n.EventContext.prototype=e.extend({},n.Object.prototype,{$element:function(){return this.app.$element(o(arguments).shift())},engineFor:function(e){var t=this,n;if(u(e))return e;e=(e||t.app.template_engine).toString();if(n=e.match(/\.([^\.\?\#]+)$/))e=n[1];return e&&u(t[e])?t[e]:t.app.template_engine?this.engineFor(t.app.template_engine):function(e,t){return e}},interpolate:function(e,t,n,r){return this.engineFor(n).apply(this,[e,t,r])},render:function(e,t,r,i){return(new n.RenderContext(this)).render(e,t,r,i)},renderEach:function(e,t,r,i){return(new n.RenderContext(this)).renderEach(e,t,r,i)},load:function(e,t,r){return(new n.RenderContext(this)).load(e,t,r)},loadPartials:function(e){return(new n.RenderContext(this)).loadPartials(e)},partial:function(e,t,r,i){return(new n.RenderContext(this)).partial(e,t,r,i)},send:function(){var e=new n.RenderContext(this);return e.send.apply(e,arguments)},redirect:function(){var t,n=o(arguments),r=this.app.getLocation(),i=n.length;if(i>1){var s=0,u=[],a=[],f={},l=!1;for(;s<i;s++)typeof n[s]=="string"?u.push(n[s]):(e.extend(f,n[s]),l=!0);t=u.join("/");if(l){for(var c in f)a.push(this.app._encodeFormPair(c,f[c]));t+="?"+a.join("&")}}else t=n[0];this.trigger("redirect",{to:t}),this.app.last_location=[this.verb,this.path],this.app.setLocation(t),(new RegExp(t)).test(r)&&this.app.trigger("location-changed")},trigger:function(e,t){return typeof t=="undefined"&&(t={}),t.context||(t.context=this),this.app.trigger(e,t)},eventNamespace:function(){return this.app.eventNamespace()},swap:function(e,t){return this.app.swap(e,t)},notFound:function(){return this.app.notFound(this.verb,this.path)},json:function(t){return e.parseJSON(t)},toString:function(){return"Sammy.EventContext: "+[this.verb,this.path,this.params].join(" ")}}),n})})(jQuery,window);
3
+ // Version: 0.7.5
4
+ // Built: 2014-02-22 10:57:15 +0200
5
+ (function(factory){if(typeof define==="function"&&define.amd){define(["jquery"],factory)}else{jQuery.sammy=window.Sammy=factory(jQuery)}})(function($){var Sammy,PATH_REPLACER="([^/]+)",PATH_NAME_MATCHER=/:([\w\d]+)/g,QUERY_STRING_MATCHER=/\?([^#]*)?$/,_makeArray=function(nonarray){return Array.prototype.slice.call(nonarray)},_isFunction=function(obj){return Object.prototype.toString.call(obj)==="[object Function]"},_isArray=function(obj){return Object.prototype.toString.call(obj)==="[object Array]"},_isRegExp=function(obj){return Object.prototype.toString.call(obj)==="[object RegExp]"},_decode=function(str){return decodeURIComponent((str||"").replace(/\+/g," "))},_encode=encodeURIComponent,_escapeHTML=function(s){return String(s).replace(/&(?!\w+;)/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;")},_routeWrapper=function(verb){return function(){return this.route.apply(this,[verb].concat(Array.prototype.slice.call(arguments)))}},_template_cache={},_has_history=!!(window.history&&history.pushState),loggers=[];Sammy=function(){var args=_makeArray(arguments),app,selector;Sammy.apps=Sammy.apps||{};if(args.length===0||args[0]&&_isFunction(args[0])){return Sammy.apply(Sammy,["body"].concat(args))}else if(typeof(selector=args.shift())=="string"){app=Sammy.apps[selector]||new Sammy.Application;app.element_selector=selector;if(args.length>0){$.each(args,function(i,plugin){app.use(plugin)})}if(app.element_selector!=selector){delete Sammy.apps[selector]}Sammy.apps[app.element_selector]=app;return app}};Sammy.VERSION="0.7.5";Sammy.addLogger=function(logger){loggers.push(logger)};Sammy.log=function(){var args=_makeArray(arguments);args.unshift("["+Date()+"]");$.each(loggers,function(i,logger){logger.apply(Sammy,args)})};if(typeof window.console!="undefined"){if(typeof window.console.log==="function"&&_isFunction(window.console.log.apply)){Sammy.addLogger(function(){window.console.log.apply(window.console,arguments)})}else{Sammy.addLogger(function(){window.console.log(arguments)})}}else if(typeof console!="undefined"){Sammy.addLogger(function(){console.log.apply(console,arguments)})}$.extend(Sammy,{makeArray:_makeArray,isFunction:_isFunction,isArray:_isArray});Sammy.Object=function(obj){return $.extend(this,obj||{})};$.extend(Sammy.Object.prototype,{escapeHTML:_escapeHTML,h:_escapeHTML,toHash:function(){var json={};$.each(this,function(k,v){if(!_isFunction(v)){json[k]=v}});return json},toHTML:function(){var display="";$.each(this,function(k,v){if(!_isFunction(v)){display+="<strong>"+k+"</strong> "+v+"<br />"}});return display},keys:function(attributes_only){var keys=[];for(var property in this){if(!_isFunction(this[property])||!attributes_only){keys.push(property)}}return keys},has:function(key){return this[key]&&$.trim(this[key].toString())!==""},join:function(){var args=_makeArray(arguments);var delimiter=args.shift();return args.join(delimiter)},log:function(){Sammy.log.apply(Sammy,arguments)},toString:function(include_functions){var s=[];$.each(this,function(k,v){if(!_isFunction(v)||include_functions){s.push('"'+k+'": '+v.toString())}});return"Sammy.Object: {"+s.join(",")+"}"}});Sammy.targetIsThisWindow=function targetIsThisWindow(event,tagName){var targetElement=$(event.target).closest(tagName);if(targetElement.length===0){return true}var targetWindow=targetElement.attr("target");if(!targetWindow||targetWindow===window.name||targetWindow==="_self"){return true}if(targetWindow==="_blank"){return false}if(targetWindow==="top"&&window===window.top){return true}return false};Sammy.DefaultLocationProxy=function(app,run_interval_every){this.app=app;this.is_native=false;this.has_history=_has_history;this._startPolling(run_interval_every)};Sammy.DefaultLocationProxy.fullPath=function(location_obj){var matches=location_obj.toString().match(/^[^#]*(#.+)$/);var hash=matches?matches[1]:"";return[location_obj.pathname,location_obj.search,hash].join("")};$.extend(Sammy.DefaultLocationProxy.prototype,{bind:function(){var proxy=this,app=this.app,lp=Sammy.DefaultLocationProxy;$(window).bind("hashchange."+this.app.eventNamespace(),function(e,non_native){if(proxy.is_native===false&&!non_native){proxy.is_native=true;window.clearInterval(lp._interval);lp._interval=null}app.trigger("location-changed")});if(_has_history&&!app.disable_push_state){$(window).bind("popstate."+this.app.eventNamespace(),function(e){app.trigger("location-changed")});$(document).delegate("a","click.history-"+this.app.eventNamespace(),function(e){if(e.isDefaultPrevented()||e.metaKey||e.ctrlKey){return}var full_path=lp.fullPath(this),hostname=this.hostname?this.hostname:function(a){var l=document.createElement("a");l.href=a.href;return l.hostname}(this);if(hostname==window.location.hostname&&app.lookupRoute("get",full_path)&&Sammy.targetIsThisWindow(e,"a")){e.preventDefault();proxy.setLocation(full_path);return false}})}if(!lp._bindings){lp._bindings=0}lp._bindings++},unbind:function(){$(window).unbind("hashchange."+this.app.eventNamespace());$(window).unbind("popstate."+this.app.eventNamespace());$(document).undelegate("a","click.history-"+this.app.eventNamespace());Sammy.DefaultLocationProxy._bindings--;if(Sammy.DefaultLocationProxy._bindings<=0){window.clearInterval(Sammy.DefaultLocationProxy._interval);Sammy.DefaultLocationProxy._interval=null}},getLocation:function(){return Sammy.DefaultLocationProxy.fullPath(window.location)},setLocation:function(new_location){if(/^([^#\/]|$)/.test(new_location)){if(_has_history&&!this.app.disable_push_state){new_location="/"+new_location}else{new_location="#!/"+new_location}}if(new_location!=this.getLocation()){if(_has_history&&!this.app.disable_push_state&&/^\//.test(new_location)){history.pushState({path:new_location},window.title,new_location);this.app.trigger("location-changed")}else{return window.location=new_location}}},_startPolling:function(every){var proxy=this;if(!Sammy.DefaultLocationProxy._interval){if(!every){every=10}var hashCheck=function(){var current_location=proxy.getLocation();if(typeof Sammy.DefaultLocationProxy._last_location=="undefined"||current_location!=Sammy.DefaultLocationProxy._last_location){window.setTimeout(function(){$(window).trigger("hashchange",[true])},0)}Sammy.DefaultLocationProxy._last_location=current_location};hashCheck();Sammy.DefaultLocationProxy._interval=window.setInterval(hashCheck,every)}}});Sammy.Application=function(app_function){var app=this;this.routes={};this.listeners=new Sammy.Object({});this.arounds=[];this.befores=[];this.namespace=(new Date).getTime()+"-"+parseInt(Math.random()*1e3,10);this.context_prototype=function(){Sammy.EventContext.apply(this,arguments)};this.context_prototype.prototype=new Sammy.EventContext;if(_isFunction(app_function)){app_function.apply(this,[this])}if(!this._location_proxy){this.setLocationProxy(new Sammy.DefaultLocationProxy(this,this.run_interval_every))}if(this.debug){this.bindToAllEvents(function(e,data){app.log(app.toString(),e.cleaned_type,data||{})})}};Sammy.Application.prototype=$.extend({},Sammy.Object.prototype,{ROUTE_VERBS:["get","post","put","delete"],APP_EVENTS:["run","unload","lookup-route","run-route","route-found","event-context-before","event-context-after","changed","error","check-form-submission","redirect","location-changed"],_last_route:null,_location_proxy:null,_running:false,element_selector:"body",debug:false,raise_errors:false,run_interval_every:50,disable_push_state:false,template_engine:null,toString:function(){return"Sammy.Application:"+this.element_selector},$element:function(selector){return selector?$(this.element_selector).find(selector):$(this.element_selector)},use:function(){var args=_makeArray(arguments),plugin=args.shift(),plugin_name=plugin||"";try{args.unshift(this);if(typeof plugin=="string"){plugin_name="Sammy."+plugin;plugin=Sammy[plugin]}plugin.apply(this,args)}catch(e){if(typeof plugin==="undefined"){this.error("Plugin Error: called use() but plugin ("+plugin_name.toString()+") is not defined",e)}else if(!_isFunction(plugin)){this.error("Plugin Error: called use() but '"+plugin_name.toString()+"' is not a function",e)}else{this.error("Plugin Error",e)}}return this},setLocationProxy:function(new_proxy){var original_proxy=this._location_proxy;this._location_proxy=new_proxy;if(this.isRunning()){if(original_proxy){original_proxy.unbind()}this._location_proxy.bind()}},log:function(){Sammy.log.apply(Sammy,Array.prototype.concat.apply([this.element_selector],arguments))},route:function(verb,path){var app=this,param_names=[],add_route,path_match,callback=Array.prototype.slice.call(arguments,2);if(callback.length===0&&_isFunction(path)){callback=[path];path=verb;verb="any"}verb=verb.toLowerCase();if(path.constructor==String){PATH_NAME_MATCHER.lastIndex=0;while((path_match=PATH_NAME_MATCHER.exec(path))!==null){param_names.push(path_match[1])}path=new RegExp(path.replace(PATH_NAME_MATCHER,PATH_REPLACER)+"$")}$.each(callback,function(i,cb){if(typeof cb==="string"){callback[i]=app[cb]}});add_route=function(with_verb){var r={verb:with_verb,path:path,callback:callback,param_names:param_names};app.routes[with_verb]=app.routes[with_verb]||[];app.routes[with_verb].push(r)};if(verb==="any"){$.each(this.ROUTE_VERBS,function(i,v){add_route(v)})}else{add_route(verb)}return this},get:_routeWrapper("get"),post:_routeWrapper("post"),put:_routeWrapper("put"),del:_routeWrapper("delete"),any:_routeWrapper("any"),mapRoutes:function(route_array){var app=this;$.each(route_array,function(i,route_args){app.route.apply(app,route_args)});return this},eventNamespace:function(){return["sammy-app",this.namespace].join("-")},bind:function(name,data,callback){var app=this;if(typeof callback=="undefined"){callback=data}var listener_callback=function(){var e,context,data;e=arguments[0];data=arguments[1];if(data&&data.context){context=data.context;delete data.context}else{context=new app.context_prototype(app,"bind",e.type,data,e.target)}e.cleaned_type=e.type.replace(app.eventNamespace(),"");callback.apply(context,[e,data])};if(!this.listeners[name]){this.listeners[name]=[]}this.listeners[name].push(listener_callback);if(this.isRunning()){this._listen(name,listener_callback)}return this},trigger:function(name,data){this.$element().trigger([name,this.eventNamespace()].join("."),[data]);return this},refresh:function(){this.last_location=null;this.trigger("location-changed");return this},before:function(options,callback){if(_isFunction(options)){callback=options;options={}}this.befores.push([options,callback]);return this},after:function(callback){return this.bind("event-context-after",callback)},around:function(callback){this.arounds.push(callback);return this},onComplete:function(callback){this._onComplete=callback;return this},isRunning:function(){return this._running},helpers:function(extensions){$.extend(this.context_prototype.prototype,extensions);return this},helper:function(name,method){this.context_prototype.prototype[name]=method;return this},run:function(start_url){if(this.isRunning()){return false}var app=this;$.each(this.listeners.toHash(),function(name,callbacks){$.each(callbacks,function(i,listener_callback){app._listen(name,listener_callback)})});this.trigger("run",{start_url:start_url});this._running=true;this.last_location=null;if(!/\#(.+)/.test(this.getLocation())&&typeof start_url!="undefined"){this.setLocation(start_url)}this._checkLocation();this._location_proxy.bind();this.bind("location-changed",function(){app._checkLocation()});this.bind("submit",function(e){if(!Sammy.targetIsThisWindow(e,"form")){return true}var returned=app._checkFormSubmission($(e.target).closest("form"));return returned===false?e.preventDefault():false});$(window).bind("unload",function(){app.unload()});return this.trigger("changed")},unload:function(){if(!this.isRunning()){return false}var app=this;this.trigger("unload");this._location_proxy.unbind();this.$element().unbind("submit").removeClass(app.eventNamespace());$.each(this.listeners.toHash(),function(name,listeners){$.each(listeners,function(i,listener_callback){app._unlisten(name,listener_callback)})});this._running=false;return this},destroy:function(){this.unload();delete Sammy.apps[this.element_selector];return this},bindToAllEvents:function(callback){var app=this;$.each(this.APP_EVENTS,function(i,e){app.bind(e,callback)});$.each(this.listeners.keys(true),function(i,name){if($.inArray(name,app.APP_EVENTS)==-1){app.bind(name,callback)}});return this},routablePath:function(path){return path.replace(QUERY_STRING_MATCHER,"")},lookupRoute:function(verb,path){var app=this,routed=false,i=0,l,route;if(typeof this.routes[verb]!="undefined"){l=this.routes[verb].length;for(;i<l;i++){route=this.routes[verb][i];if(app.routablePath(path).match(route.path)){routed=route;break}}}return routed},runRoute:function(verb,path,params,target){var app=this,route=this.lookupRoute(verb,path),context,wrapped_route,arounds,around,befores,before,callback_args,path_params,final_returned;if(this.debug){this.log("runRoute",[verb,path].join(" "))}this.trigger("run-route",{verb:verb,path:path,params:params});if(typeof params=="undefined"){params={}}$.extend(params,this._parseQueryString(path));if(route){this.trigger("route-found",{route:route});if((path_params=route.path.exec(this.routablePath(path)))!==null){path_params.shift();$.each(path_params,function(i,param){if(route.param_names[i]){params[route.param_names[i]]=_decode(param)}else{if(!params.splat){params.splat=[]}params.splat.push(_decode(param))}})}context=new this.context_prototype(this,verb,path,params,target);arounds=this.arounds.slice(0);befores=this.befores.slice(0);callback_args=[context];if(params.splat){callback_args=callback_args.concat(params.splat)}wrapped_route=function(){var returned,i,nextRoute;while(befores.length>0){before=befores.shift();if(app.contextMatchesOptions(context,before[0])){returned=before[1].apply(context,[context]);if(returned===false){return false}}}app.last_route=route;context.trigger("event-context-before",{context:context});if(typeof route.callback==="function"){route.callback=[route.callback]}if(route.callback&&route.callback.length){i=-1;nextRoute=function(){i++;if(route.callback[i]){returned=route.callback[i].apply(context,callback_args)}else if(app._onComplete&&typeof(app._onComplete==="function")){app._onComplete(context)}};callback_args.push(nextRoute);nextRoute()}context.trigger("event-context-after",{context:context});return returned};$.each(arounds.reverse(),function(i,around){var last_wrapped_route=wrapped_route;wrapped_route=function(){return around.apply(context,[last_wrapped_route])}});try{final_returned=wrapped_route()}catch(e){this.error(["500 Error",verb,path].join(" "),e)}return final_returned}else{return this.notFound(verb,path)}},contextMatchesOptions:function(context,match_options,positive){var options=match_options;if(typeof options==="string"||_isRegExp(options)){options={path:options}}if(typeof positive==="undefined"){positive=true}if($.isEmptyObject(options)){return true}if(_isArray(options.path)){var results,numopt,opts,len;results=[];for(numopt=0,len=options.path.length;numopt<len;numopt+=1){opts=$.extend({},options,{path:options.path[numopt]});results.push(this.contextMatchesOptions(context,opts))}var matched=$.inArray(true,results)>-1?true:false;return positive?matched:!matched}if(options.only){return this.contextMatchesOptions(context,options.only,true)}else if(options.except){return this.contextMatchesOptions(context,options.except,false)}var path_matched=true,verb_matched=true;if(options.path){if(!_isRegExp(options.path)){options.path=new RegExp(options.path.toString()+"$")}path_matched=options.path.test(context.path)}if(options.verb){if(typeof options.verb==="string"){verb_matched=options.verb===context.verb}else{verb_matched=options.verb.indexOf(context.verb)>-1}}return positive?verb_matched&&path_matched:!(verb_matched&&path_matched)},getLocation:function(){return this._location_proxy.getLocation()},setLocation:function(new_location){return this._location_proxy.setLocation(new_location)},swap:function(content,callback){var $el=this.$element().html(content);if(_isFunction(callback)){callback(content)}return $el},templateCache:function(key,value){if(typeof value!="undefined"){return _template_cache[key]=value}else{return _template_cache[key]}},clearTemplateCache:function(){return _template_cache={}},notFound:function(verb,path){var ret=this.error(["404 Not Found",verb,path].join(" "));return verb==="get"?ret:true},error:function(message,original_error){if(!original_error){original_error=new Error}original_error.message=[message,original_error.message].join(" ");this.trigger("error",{message:original_error.message,error:original_error});if(this.raise_errors){throw original_error}else{this.log(original_error.message,original_error)}},_checkLocation:function(){var location,returned;location=this.getLocation();if(!this.last_location||this.last_location[0]!="get"||this.last_location[1]!=location){this.last_location=["get",location];returned=this.runRoute("get",location)}return returned},_getFormVerb:function(form){var $form=$(form),verb,$_method;$_method=$form.find('input[name="_method"]');if($_method.length>0){verb=$_method.val()}if(!verb){verb=$form[0].getAttribute("method")}if(!verb||verb===""){verb="get"}return $.trim(verb.toString().toLowerCase())},_checkFormSubmission:function(form){var $form,path,verb,params,returned;this.trigger("check-form-submission",{form:form});$form=$(form);path=$form.attr("action")||"";verb=this._getFormVerb($form);if(this.debug){this.log("_checkFormSubmission",$form,path,verb)}if(verb==="get"){params=this._serializeFormParams($form);if(params!==""){path+="?"+params}this.setLocation(path);returned=false}else{params=$.extend({},this._parseFormParams($form));returned=this.runRoute(verb,path,params,form.get(0))}return typeof returned=="undefined"?false:returned},_serializeFormParams:function($form){var queryString="",fields=$form.serializeArray(),i;if(fields.length>0){queryString=this._encodeFormPair(fields[0].name,fields[0].value);for(i=1;i<fields.length;i++){queryString=queryString+"&"+this._encodeFormPair(fields[i].name,fields[i].value)}}return queryString},_encodeFormPair:function(name,value){return _encode(name)+"="+_encode(value)},_parseFormParams:function($form){var params={},form_fields=$form.serializeArray(),i;for(i=0;i<form_fields.length;i++){params=this._parseParamPair(params,form_fields[i].name,form_fields[i].value)}return params},_parseQueryString:function(path){var params={},parts,pairs,pair,i;parts=path.match(QUERY_STRING_MATCHER);if(parts&&parts[1]){pairs=parts[1].split("&");for(i=0;i<pairs.length;i++){pair=pairs[i].split("=");params=this._parseParamPair(params,_decode(pair[0]),_decode(pair[1]||""))}}return params},_parseParamPair:function(params,key,value){if(typeof params[key]!=="undefined"){if(_isArray(params[key])){params[key].push(value)}else{params[key]=[params[key],value]}}else{params[key]=value}return params},_listen:function(name,callback){return this.$element().bind([name,this.eventNamespace()].join("."),callback)},_unlisten:function(name,callback){return this.$element().unbind([name,this.eventNamespace()].join("."),callback)}});Sammy.RenderContext=function(event_context){this.event_context=event_context;this.callbacks=[];this.previous_content=null;this.content=null;this.next_engine=false;this.waiting=false};Sammy.RenderContext.prototype=$.extend({},Sammy.Object.prototype,{then:function(callback){if(!_isFunction(callback)){if(typeof callback==="string"&&callback in this.event_context){var helper=this.event_context[callback];callback=function(content){return helper.apply(this.event_context,[content])}}else{return this}}var context=this;if(this.waiting){this.callbacks.push(callback)}else{this.wait();window.setTimeout(function(){var returned=callback.apply(context,[context.content,context.previous_content]);if(returned!==false){context.next(returned)}},0)}return this},wait:function(){this.waiting=true},next:function(content){this.waiting=false;if(typeof content!=="undefined"){this.previous_content=this.content;this.content=content}if(this.callbacks.length>0){this.then(this.callbacks.shift())}},load:function(location,options,callback){var context=this;return this.then(function(){var should_cache,cached,is_json,location_array;if(_isFunction(options)){callback=options;options={}}else{options=$.extend({},options)}if(callback){this.then(callback)}if(typeof location==="string"){is_json=location.match(/\.json(\?|$)/)||options.json;should_cache=is_json?options.cache===true:options.cache!==false;context.next_engine=context.event_context.engineFor(location);delete options.cache;delete options.json;if(options.engine){context.next_engine=options.engine;delete options.engine}if(should_cache&&(cached=this.event_context.app.templateCache(location))){return cached}this.wait();$.ajax($.extend({url:location,data:{},dataType:is_json?"json":"text",type:"get",success:function(data){if(should_cache){context.event_context.app.templateCache(location,data)}context.next(data)}},options));return false}else{if(location.nodeType){return location.innerHTML}if(location.selector){context.next_engine=location.attr("data-engine");if(options.clone===false){return location.remove()[0].innerHTML.toString()}else{return location[0].innerHTML.toString()}}}})},loadPartials:function(partials){var name;if(partials){this.partials=this.partials||{};for(name in partials){(function(context,name){context.load(partials[name]).then(function(template){this.partials[name]=template})})(this,name)}}return this},render:function(location,data,callback,partials){if(_isFunction(location)&&!data){return this.then(location)}else{if(_isFunction(data)){partials=callback;callback=data;data=null}else if(callback&&!_isFunction(callback)){partials=callback;callback=null}return this.loadPartials(partials).load(location).interpolate(data,location).then(callback)}},partial:function(location,data,callback,partials){if(_isFunction(callback)){return this.render(location,data,partials).swap(callback)}else if(_isFunction(data)){return this.render(location,{},callback).swap(data)}else{return this.render(location,data,callback).swap()}},send:function(){var context=this,args=_makeArray(arguments),fun=args.shift();if(_isArray(args[0])){args=args[0]}return this.then(function(content){args.push(function(response){context.next(response)});context.wait();fun.apply(fun,args);return false})},collect:function(array,callback,now){var context=this;var coll=function(){if(_isFunction(array)){callback=array;array=this.content}var contents=[],doms=false;$.each(array,function(i,item){var returned=callback.apply(context,[i,item]);if(returned.jquery&&returned.length==1){returned=returned[0];doms=true}contents.push(returned);return returned});return doms?contents:contents.join("")};return now?coll():this.then(coll)},renderEach:function(location,name,data,callback){if(_isArray(name)){callback=data;data=name;name=null}return this.load(location).then(function(content){var rctx=this;if(!data){data=_isArray(this.previous_content)?this.previous_content:[]}if(callback){$.each(data,function(i,value){var idata={},engine=this.next_engine||location;if(name){idata[name]=value}else{idata=value}callback(value,rctx.event_context.interpolate(content,idata,engine))})}else{return this.collect(data,function(i,value){var idata={},engine=this.next_engine||location;if(name){idata[name]=value}else{idata=value}return this.event_context.interpolate(content,idata,engine)},true)}})},interpolate:function(data,engine,retain){var context=this;return this.then(function(content,prev){if(!data&&prev){data=prev}if(this.next_engine){engine=this.next_engine;this.next_engine=false}var rendered=context.event_context.interpolate(content,data,engine,this.partials);return retain?prev+rendered:rendered})},swap:function(callback){return this.then(function(content){this.event_context.swap(content,callback);return content}).trigger("changed",{})},appendTo:function(selector){return this.then(function(content){$(selector).append(content)}).trigger("changed",{})},prependTo:function(selector){return this.then(function(content){$(selector).prepend(content)}).trigger("changed",{})},replace:function(selector){return this.then(function(content){$(selector).html(content)}).trigger("changed",{})},trigger:function(name,data){return this.then(function(content){if(typeof data=="undefined"){data={content:content}}this.event_context.trigger(name,data);return content})}});Sammy.EventContext=function(app,verb,path,params,target){this.app=app;this.verb=verb;this.path=path;this.params=new Sammy.Object(params);this.target=target};Sammy.EventContext.prototype=$.extend({},Sammy.Object.prototype,{$element:function(){return this.app.$element(_makeArray(arguments).shift())},engineFor:function(engine){var context=this,engine_match;if(_isFunction(engine)){return engine}engine=(engine||context.app.template_engine).toString();if(engine_match=engine.match(/\.([^\.\?\#]+)(\?|$)/)){engine=engine_match[1]}if(engine&&_isFunction(context[engine])){return context[engine]}if(context.app.template_engine){return this.engineFor(context.app.template_engine)}return function(content,data){return content}},interpolate:function(content,data,engine,partials){return this.engineFor(engine).apply(this,[content,data,partials])},render:function(location,data,callback,partials){return new Sammy.RenderContext(this).render(location,data,callback,partials)},renderEach:function(location,name,data,callback){return new Sammy.RenderContext(this).renderEach(location,name,data,callback)},load:function(location,options,callback){return new Sammy.RenderContext(this).load(location,options,callback)},loadPartials:function(partials){return new Sammy.RenderContext(this).loadPartials(partials)},partial:function(location,data,callback,partials){return new Sammy.RenderContext(this).partial(location,data,callback,partials)},send:function(){var rctx=new Sammy.RenderContext(this);return rctx.send.apply(rctx,arguments)},redirect:function(){var to,args=_makeArray(arguments),current_location=this.app.getLocation(),l=args.length;if(l>1){var i=0,paths=[],pairs=[],params={},has_params=false;for(;i<l;i++){if(typeof args[i]=="string"){paths.push(args[i])}else{$.extend(params,args[i]);has_params=true}}to=paths.join("/");if(has_params){for(var k in params){pairs.push(this.app._encodeFormPair(k,params[k]))}to+="?"+pairs.join("&")}}else{to=args[0]}this.trigger("redirect",{to:to});this.app.last_location=[this.verb,this.path];this.app.setLocation(to);if(new RegExp(to).test(current_location)){this.app.trigger("location-changed")}},trigger:function(name,data){if(typeof data=="undefined"){data={}}if(!data.context){data.context=this}return this.app.trigger(name,data)},eventNamespace:function(){return this.app.eventNamespace()},swap:function(contents,callback){return this.app.swap(contents,callback)},notFound:function(){return this.app.notFound(this.verb,this.path)},json:function(string){return $.parseJSON(string)},toString:function(){return"Sammy.EventContext: "+[this.verb,this.path,this.params].join(" ")}});return Sammy});
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: h2ocube_rails_assets
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.30
4
+ version: 0.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ben
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-02-21 00:00:00.000000000 Z
11
+ date: 2014-02-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: slim
@@ -108,20 +108,6 @@ dependencies:
108
108
  - - ">="
109
109
  - !ruby/object:Gem::Version
110
110
  version: '0'
111
- - !ruby/object:Gem::Dependency
112
- name: turbolinks
113
- requirement: !ruby/object:Gem::Requirement
114
- requirements:
115
- - - ">="
116
- - !ruby/object:Gem::Version
117
- version: '0'
118
- type: :runtime
119
- prerelease: false
120
- version_requirements: !ruby/object:Gem::Requirement
121
- requirements:
122
- - - ">="
123
- - !ruby/object:Gem::Version
124
- version: '0'
125
111
  - !ruby/object:Gem::Dependency
126
112
  name: font-awesome-rails
127
113
  requirement: !ruby/object:Gem::Requirement
@@ -263,27 +249,6 @@ files:
263
249
  - vendor/assets/images/bootstrap3/glyphicons-halflings-regular.svg
264
250
  - vendor/assets/images/bootstrap3/glyphicons-halflings-regular.ttf
265
251
  - vendor/assets/images/bootstrap3/glyphicons-halflings-regular.woff
266
- - vendor/assets/images/jquery.Jcrop/Jcrop.gif
267
- - vendor/assets/images/jquery.fancybox/blank.gif
268
- - vendor/assets/images/jquery.fancybox/fancybox_loading.gif
269
- - vendor/assets/images/jquery.fancybox/fancybox_loading@2x.gif
270
- - vendor/assets/images/jquery.fancybox/fancybox_overlay.png
271
- - vendor/assets/images/jquery.fancybox/fancybox_sprite.png
272
- - vendor/assets/images/jquery.fancybox/fancybox_sprite@2x.png
273
- - vendor/assets/images/jquery.ui/animated-overlay.gif
274
- - vendor/assets/images/jquery.ui/ui-bg_flat_0_aaaaaa_40x100.png
275
- - vendor/assets/images/jquery.ui/ui-bg_flat_75_ffffff_40x100.png
276
- - vendor/assets/images/jquery.ui/ui-bg_glass_55_fbf9ee_1x400.png
277
- - vendor/assets/images/jquery.ui/ui-bg_glass_65_ffffff_1x400.png
278
- - vendor/assets/images/jquery.ui/ui-bg_glass_75_dadada_1x400.png
279
- - vendor/assets/images/jquery.ui/ui-bg_glass_75_e6e6e6_1x400.png
280
- - vendor/assets/images/jquery.ui/ui-bg_glass_95_fef1ec_1x400.png
281
- - vendor/assets/images/jquery.ui/ui-bg_highlight-soft_75_cccccc_1x100.png
282
- - vendor/assets/images/jquery.ui/ui-icons_222222_256x240.png
283
- - vendor/assets/images/jquery.ui/ui-icons_2e83ff_256x240.png
284
- - vendor/assets/images/jquery.ui/ui-icons_454545_256x240.png
285
- - vendor/assets/images/jquery.ui/ui-icons_888888_256x240.png
286
- - vendor/assets/images/jquery.ui/ui-icons_cd0a0a_256x240.png
287
252
  - vendor/assets/images/semantic/basic.icons.eot
288
253
  - vendor/assets/images/semantic/basic.icons.svg
289
254
  - vendor/assets/images/semantic/basic.icons.ttf
@@ -300,58 +265,14 @@ files:
300
265
  - vendor/assets/images/semantic/loader-mini.gif
301
266
  - vendor/assets/images/semantic/loader-small-inverted.gif
302
267
  - vendor/assets/images/semantic/loader-small.gif
303
- - vendor/assets/javascripts/angular.js
304
- - vendor/assets/javascripts/backbone.js
305
268
  - vendor/assets/javascripts/bootstrap.js
306
269
  - vendor/assets/javascripts/bootstrap3.js
307
- - vendor/assets/javascripts/highcharts.js
308
- - vendor/assets/javascripts/jquery-ui.js
309
- - vendor/assets/javascripts/jquery.Jcrop.js
310
270
  - vendor/assets/javascripts/jquery.cookie.js
311
- - vendor/assets/javascripts/jquery.fancybox.js
312
271
  - vendor/assets/javascripts/jquery.fileupload.js
313
272
  - vendor/assets/javascripts/jquery.iframe-transport.js
314
273
  - vendor/assets/javascripts/jquery.js
315
274
  - vendor/assets/javascripts/jquery.lazyload.js
316
- - vendor/assets/javascripts/jquery.mobile.js
317
275
  - vendor/assets/javascripts/jquery.pnotify.js
318
- - vendor/assets/javascripts/jquery.timeago.coffee
319
- - vendor/assets/javascripts/jquery.turbolinks.coffee
320
- - vendor/assets/javascripts/jquery.ui.js
321
- - vendor/assets/javascripts/jquery.ui/jquery.ui.accordion.js
322
- - vendor/assets/javascripts/jquery.ui/jquery.ui.autocomplete.js
323
- - vendor/assets/javascripts/jquery.ui/jquery.ui.button.js
324
- - vendor/assets/javascripts/jquery.ui/jquery.ui.core.js
325
- - vendor/assets/javascripts/jquery.ui/jquery.ui.datepicker.js
326
- - vendor/assets/javascripts/jquery.ui/jquery.ui.dialog.js
327
- - vendor/assets/javascripts/jquery.ui/jquery.ui.draggable.js
328
- - vendor/assets/javascripts/jquery.ui/jquery.ui.droppable.js
329
- - vendor/assets/javascripts/jquery.ui/jquery.ui.effect-blind.js
330
- - vendor/assets/javascripts/jquery.ui/jquery.ui.effect-bounce.js
331
- - vendor/assets/javascripts/jquery.ui/jquery.ui.effect-clip.js
332
- - vendor/assets/javascripts/jquery.ui/jquery.ui.effect-drop.js
333
- - vendor/assets/javascripts/jquery.ui/jquery.ui.effect-explode.js
334
- - vendor/assets/javascripts/jquery.ui/jquery.ui.effect-fade.js
335
- - vendor/assets/javascripts/jquery.ui/jquery.ui.effect-fold.js
336
- - vendor/assets/javascripts/jquery.ui/jquery.ui.effect-highlight.js
337
- - vendor/assets/javascripts/jquery.ui/jquery.ui.effect-pulsate.js
338
- - vendor/assets/javascripts/jquery.ui/jquery.ui.effect-scale.js
339
- - vendor/assets/javascripts/jquery.ui/jquery.ui.effect-shake.js
340
- - vendor/assets/javascripts/jquery.ui/jquery.ui.effect-slide.js
341
- - vendor/assets/javascripts/jquery.ui/jquery.ui.effect-transfer.js
342
- - vendor/assets/javascripts/jquery.ui/jquery.ui.effect.js
343
- - vendor/assets/javascripts/jquery.ui/jquery.ui.menu.js
344
- - vendor/assets/javascripts/jquery.ui/jquery.ui.mouse.js
345
- - vendor/assets/javascripts/jquery.ui/jquery.ui.position.js
346
- - vendor/assets/javascripts/jquery.ui/jquery.ui.progressbar.js
347
- - vendor/assets/javascripts/jquery.ui/jquery.ui.resizable.js
348
- - vendor/assets/javascripts/jquery.ui/jquery.ui.selectable.js
349
- - vendor/assets/javascripts/jquery.ui/jquery.ui.slider.js
350
- - vendor/assets/javascripts/jquery.ui/jquery.ui.sortable.js
351
- - vendor/assets/javascripts/jquery.ui/jquery.ui.spinner.js
352
- - vendor/assets/javascripts/jquery.ui/jquery.ui.tabs.js
353
- - vendor/assets/javascripts/jquery.ui/jquery.ui.tooltip.js
354
- - vendor/assets/javascripts/jquery.ui/jquery.ui.widget.js
355
276
  - vendor/assets/javascripts/jquery.ujs.js
356
277
  - vendor/assets/javascripts/jquery.validate.js
357
278
  - vendor/assets/javascripts/jquery/1.10.js
@@ -359,11 +280,8 @@ files:
359
280
  - vendor/assets/javascripts/jquery/1.9.js
360
281
  - vendor/assets/javascripts/jquery/2.0.js
361
282
  - vendor/assets/javascripts/lazyload.js
362
- - vendor/assets/javascripts/modernizr.js
363
283
  - vendor/assets/javascripts/sammy.js
364
284
  - vendor/assets/javascripts/semantic.js
365
- - vendor/assets/javascripts/underscore.js
366
- - vendor/assets/javascripts/zepto.all.js
367
285
  - vendor/assets/javascripts/zepto.js
368
286
  - vendor/assets/javascripts/zepto/assets.js
369
287
  - vendor/assets/javascripts/zepto/data.js
@@ -374,12 +292,7 @@ files:
374
292
  - vendor/assets/stylesheets/bootstrap.responsive.css
375
293
  - vendor/assets/stylesheets/bootstrap.scss
376
294
  - vendor/assets/stylesheets/bootstrap3.scss
377
- - vendor/assets/stylesheets/jquery.Jcrop.scss
378
- - vendor/assets/stylesheets/jquery.fancybox.scss
379
- - vendor/assets/stylesheets/jquery.mobile.scss
380
295
  - vendor/assets/stylesheets/jquery.pnotify.css
381
- - vendor/assets/stylesheets/jquery.ui.scss
382
- - vendor/assets/stylesheets/normalize.css
383
296
  - vendor/assets/stylesheets/semantic.scss
384
297
  homepage: https://github.com/h2ocube/h2ocube_rails_assets
385
298
  licenses: