partystreusel 1.0.7 → 1.0.8

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- ZWFlNWI5OGMzNTUzMTAyNWIwMmI1MDk5NzZlZmE5YjllOGNkYTZlYw==
4
+ NzU5MDEwNTZhNTdlMWNhNjY5MjcwZWU1ZmU0N2Q1MzcyOGM1ZWUxOA==
5
5
  data.tar.gz: !binary |-
6
- NWQwZTMyNjhiOTBkZWRhMzQzNDA2MzVmM2I4MTRlMDQ2MTI3MGFkYQ==
6
+ ODY4OWVmYzg2ZjkwZDI4NGMyNGQzYjlhOGI4M2JjNzNiOGY4YTc3NA==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- MDQwNTZhMDc4MDRjNjRiNGViYzFiMDE4MjNmMGE0MWRkYTg1MmE2ZmRkMjA0
10
- YTNiMTFkNzBiZTQyZTBjZWE4Y2U5MjUyZDg3MGQ1YmMwNzc4MjcwNTllMWE2
11
- MjkwZjk5YjM3NjE3ZWZiZDI1NzkxZWY3MTY0OTIyNzE2ZDE5Mzc=
9
+ M2U5YmQ1ZTYxZWRkNTEzMTI0YjcwYjFmMWQxOWY4Yjg2MzY0YTY5Y2VjODE4
10
+ MTQyMWM4YjMwNmRiYmFmN2E3NTIwZjFhNTYxOGQ0MWY3YTU1ZGM0OGJkNzRj
11
+ ZjNmODM0ZTA2NGNjZWI5NWJlMGYwZGI2MTE4MDA0MDU3YjEwZGM=
12
12
  data.tar.gz: !binary |-
13
- Y2NlNWUxYTdkYzk2NmI4YWZjZDQ2MGEyMTIzOTc1NjJhYmQ5ZGNlMWY0Nzlj
14
- YTkzNmM5ZmRjZWQ5YzY4NDFmMDA0ODc5YmY1MzdhNTBiMWRhMzcwNmE2YTQw
15
- MmM5NzlhMWI3NWJlOGE5ZmM1NTc0YmY0YjYxOTY3N2IzOTllZmQ=
13
+ NjZiYTlhMGY4ZDhiZjBhYzNkMjk5N2M5NTQ5ZDcyMjQ4ODUyYmRhMTE2NDFm
14
+ MGQ1ZjVlMzQ4YmJkYjYwODc1OGY1MzAwODVmZmRkZjU0YzliNGZhZDQ1NWE5
15
+ YmM3ZTk4ODc0Y2E2N2E0YjE2ZTM0N2YxM2EzOGI5MTY5ZmRiMDk=
data/CHANGELOG.md CHANGED
@@ -1,5 +1,8 @@
1
1
  # CHANGELOG
2
2
 
3
+ ## v1.0.8
4
+ * IE8 fixes (readmore, ie_fixes did not work in IE8)
5
+
3
6
  ## v1.0.7
4
7
  * Fixed issue which broke streusel when minified.
5
8
 
@@ -1,8 +0,0 @@
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) ->
@@ -11,7 +11,7 @@ class Readmore extends Partystreusel.Base
11
11
  .addClass('hide')
12
12
  @$el.append(@contentDiv)
13
13
 
14
- return if @contentDiv.text().trim() == ''
14
+ return if $.trim(@contentDiv.text()) == ''
15
15
 
16
16
  @button = @renderButton('open')
17
17
  $(@button).bind 'click', @toggle
@@ -1,3 +1,3 @@
1
1
  module Partystreusel
2
- VERSION = "1.0.7"
2
+ VERSION = "1.0.8"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: partystreusel
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.7
4
+ version: 1.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Flavio Pellanda
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-08-08 00:00:00.000000000 Z
11
+ date: 2014-08-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: railties