pluggable_js 0.0.5 → 0.0.6

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: 72eae7575c4a5d7e5e9f844695c8590ed6c2aac5
4
- data.tar.gz: e8b110e7d310a1c60e4819e556a7e9df5054e63e
3
+ metadata.gz: 5562c201846d6f7300763ae176e9419888c3d31d
4
+ data.tar.gz: 5aa02bbfdaefb4af6476049965a0bd89819a0c66
5
5
  SHA512:
6
- metadata.gz: a4fcc8b5881f6d09c806abc555438b91d83cd5199ba29ed2821d317412ed67bbcb024858bfa377883103eb5c8a80f27f62d628c95e8c543b0dfc72176db3e057
7
- data.tar.gz: 50da9bbabcc78c673d66a4380a3ff5f448df812bc695677f33eec36b0c99a22a5ffb81c9d1e488d146574adf30cfa59a91a5641a2a07ce56755a5f68364c7325
6
+ metadata.gz: 3f0c88cbf4c76faca4f8ceab301ae0e75ae25852952295e6a787c4fd0f65030e2ceeecaa3de38499b8f9345e2e6087b2d48f2495e55c9bf9478cd904c0a16a97
7
+ data.tar.gz: 123d78a1fc300758f3463741e509b88d2d40e9fcb5a4498812ec814cd6c2c8396cdd7f98b04112fd3b8aef2afdb12f1ee24437fcd5fa423aaab5575bb0efc768
data/CHANGELOG.md CHANGED
@@ -25,3 +25,7 @@
25
25
  ## v0.0.5
26
26
 
27
27
  * improved function call, left generator only for large js files
28
+
29
+ ## v0.0.6
30
+
31
+ * fixed function call for IE
@@ -12,8 +12,8 @@ module PluggableJs
12
12
  object = controller.classify
13
13
 
14
14
  javascript_tag "jQuery(function() {
15
- if (typeof(#{object}) == 'object' && typeof(#{object}.#{action}) == 'function') {
16
- return #{object}.#{action}();
15
+ if (typeof(#{object}) == 'object' && typeof(#{object}['#{action}']) == 'function') {
16
+ return #{object}['#{action}']();
17
17
  }
18
18
  });"
19
19
  end
@@ -1,3 +1,3 @@
1
1
  module PluggableJs
2
- VERSION = "0.0.5"
2
+ VERSION = "0.0.6"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pluggable_js
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrey Peresleguine
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-09-21 00:00:00.000000000 Z
11
+ date: 2013-11-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: coffee-rails