Browse files

Rebuild vendor file. #38

  • Loading branch information...
1 parent cd30739 commit 92c15119ed357ddbbdf8b6dc5b344204070c82f5 @rstacruz rstacruz committed Feb 12, 2014
Showing with 7 additions and 3 deletions.
  1. +3 −2 NOTES.md
  2. +3 −0 Rakefile
  3. +1 −1 vendor/assets/javascripts/jquery.turbolinks.min.js
View
5 NOTES.md
@@ -12,9 +12,10 @@ Edit the following files:
Updating .js files
------------------
-Update the .js files from the source CoffeeScript file using:
+Update the .js files from the source CoffeeScript file using: (do this before
+ releasing)
- $ rake js:bulid js:uglify
+ $ rake js:build js:uglify
Testing
-------
View
3 Rakefile
@@ -21,6 +21,9 @@ namespace :release do
task all: [:gem, :npm]
end
+desc 'Rebuilds and compresses'
+task :build => %w[js:build js:uglify]
+
namespace :js do
desc 'Build JavaScript from CoffeeScript source code'
View
2 vendor/assets/javascripts/jquery.turbolinks.min.js
@@ -1 +1 @@
-!function(){var r,t;r=window.jQuery||("function"==typeof require?require("jquery"):void 0),t=r(document),r.turbo={version:"2.0.0",isReady:!1,use:function(r,o){return t.off(".turbo").on(""+r+".turbo",this.onLoad).on(""+o+".turbo",this.onFetch)},addCallback:function(o){return r.turbo.isReady?o(r):t.on("turbo:ready",function(){return o(r)})},onLoad:function(){return r.turbo.isReady=!0,t.trigger("turbo:ready")},onFetch:function(){return r.turbo.isReady=!1},register:function(){return r(this.onLoad),r.fn.ready=this.addCallback}},r.turbo.register(),r.turbo.use("page:load","page:fetch")}.call(this);
+(function(){var r,t;r=window.jQuery||("function"==typeof require?require("jquery"):void 0),t=r(document),r.turbo={version:"2.0.1",isReady:!1,use:function(r,o){return t.off(".turbo").on(""+r+".turbo",this.onLoad).on(""+o+".turbo",this.onFetch)},addCallback:function(o){return r.turbo.isReady?o(r):t.on("turbo:ready",function(){return o(r)})},onLoad:function(){return r.turbo.isReady=!0,t.trigger("turbo:ready")},onFetch:function(){return r.turbo.isReady=!1},register:function(){return r(this.onLoad),r.fn.ready=this.addCallback}},r.turbo.register(),r.turbo.use("page:load","page:fetch")}).call(this);

0 comments on commit 92c1511

Please sign in to comment.