partystreusel 1.0.2 → 1.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/CHANGELOG.md CHANGED
@@ -1,5 +1,8 @@
1
1
  # CHANGELOG
2
2
 
3
+ ## v1.0.3 - 2014-06-23
4
+ * IE Bugfix (toDownCase error)
5
+
3
6
  ## v1.0.0 - 2014-06-05
4
7
 
5
8
  * Complete rework with jasmine testing
@@ -1,4 +1,5 @@
1
1
  #= require partystreusel/namespace
2
+ #= require partystreusel/ie_fixes
2
3
  class Partystreusel.Base
3
4
 
4
5
  @selector: ->
@@ -0,0 +1,8 @@
1
+ if Function::name is `undefined` and Object.defineProperty isnt `undefined`
2
+ Object.defineProperty Function::, "name",
3
+ get: ->
4
+ funcNameRegex = /function\s([^(]{1,})\(/
5
+ results = (funcNameRegex).exec(@toString())
6
+ (if (results and results.length > 1) then results[1].trim() else "")
7
+
8
+ set: (value) ->
@@ -1,3 +1,3 @@
1
1
  module Partystreusel
2
- VERSION = "1.0.2"
2
+ VERSION = "1.0.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: partystreusel
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-06-05 00:00:00.000000000 Z
12
+ date: 2014-06-23 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: railties
@@ -62,6 +62,7 @@ files:
62
62
  - app/assets/javascripts/partystreusel.js.coffee
63
63
  - app/assets/javascripts/partystreusel/all.js.coffee
64
64
  - app/assets/javascripts/partystreusel/base.js.coffee
65
+ - app/assets/javascripts/partystreusel/ie_fixes.js.coffee
65
66
  - app/assets/javascripts/partystreusel/namespace.js.coffee
66
67
  - app/assets/javascripts/partystreusel/readmore.js.coffee
67
68
  - app/assets/javascripts/partystreusel/scroll_to.js.coffee