Skip to content
This repository has been archived by the owner on May 25, 2018. It is now read-only.

Commit

Permalink
Fix regression introduced by de6b338.
Browse files Browse the repository at this point in the history
  • Loading branch information
jimsynz committed Jul 11, 2013
1 parent 770361b commit e859e56
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Rakefile
Expand Up @@ -26,7 +26,7 @@ end
task :wrap_in_closure => :import_javascript_client do
Dir['vendor/assets/javascripts/*.js'].each do |file|
js = File.read(file)
File.write(file, "(function() {\n#{js}\n})();")
File.write(file, "(function() {\n#{js}\n})(this);")
end
end

Expand Down
2 changes: 1 addition & 1 deletion lib/faye-rails/version.rb
@@ -1,3 +1,3 @@
module FayeRails
VERSION = "1.0.10"
VERSION = "1.0.11"
end
2 changes: 1 addition & 1 deletion vendor/assets/javascripts/faye-browser-min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion vendor/assets/javascripts/faye-browser.js
Expand Up @@ -2158,4 +2158,4 @@ Faye.Transport.JSONP = Faye.extend(Faye.Class(Faye.Transport, {

Faye.Transport.register('callback-polling', Faye.Transport.JSONP);

})();
})(this);
2 changes: 1 addition & 1 deletion vendor/assets/javascripts/faye.js

Large diffs are not rendered by default.

0 comments on commit e859e56

Please sign in to comment.