From 5342820c0b24af53b1676c7c6272d0004cdfb0b5 Mon Sep 17 00:00:00 2001 From: "Rico Sta. Cruz" Date: Wed, 12 Feb 2014 21:47:49 +0800 Subject: [PATCH] Release v2.0.2 --- lib/jquery-turbolinks/version.rb | 2 +- package.json | 2 +- src/jquery.turbolinks.coffee | 2 +- vendor/assets/javascripts/jquery.turbolinks.js | 2 +- vendor/assets/javascripts/jquery.turbolinks.min.js | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/jquery-turbolinks/version.rb b/lib/jquery-turbolinks/version.rb index 84ab2dc..e33d338 100644 --- a/lib/jquery-turbolinks/version.rb +++ b/lib/jquery-turbolinks/version.rb @@ -1,3 +1,3 @@ module JqueryTurbolinks - VERSION = '2.0.1' + VERSION = '2.0.2' end diff --git a/package.json b/package.json index 7c14f70..b3528a5 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "jquery.turbolinks", - "version": "2.0.1", + "version": "2.0.2", "author": "Sasha Koss ", "description": "jQuery plugin for drop-in fix binded events problem caused by Turbolinks", diff --git a/src/jquery.turbolinks.coffee b/src/jquery.turbolinks.coffee index 263c3bf..d200147 100644 --- a/src/jquery.turbolinks.coffee +++ b/src/jquery.turbolinks.coffee @@ -10,7 +10,7 @@ $ = window.jQuery or require?('jquery') $document = $(document) $.turbo = - version: '2.0.1' + version: '2.0.2' isReady: false diff --git a/vendor/assets/javascripts/jquery.turbolinks.js b/vendor/assets/javascripts/jquery.turbolinks.js index 3e83d9a..d9aff86 100644 --- a/vendor/assets/javascripts/jquery.turbolinks.js +++ b/vendor/assets/javascripts/jquery.turbolinks.js @@ -16,7 +16,7 @@ Copyright (c) 2012-2013 Sasha Koss & Rico Sta. Cruz $document = $(document); $.turbo = { - version: '2.0.1', + version: '2.0.2', isReady: false, use: function(load, fetch) { return $document.off('.turbo').on("" + load + ".turbo", this.onLoad).on("" + fetch + ".turbo", this.onFetch); diff --git a/vendor/assets/javascripts/jquery.turbolinks.min.js b/vendor/assets/javascripts/jquery.turbolinks.min.js index 205f93d..7e33332 100644 --- a/vendor/assets/javascripts/jquery.turbolinks.min.js +++ b/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.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); \ No newline at end of file +(function(){var r,t;r=window.jQuery||("function"==typeof require?require("jquery"):void 0),t=r(document),r.turbo={version:"2.0.2",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); \ No newline at end of file