haml_coffee_assets 1.4.6 → 1.4.7

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,5 +1,5 @@
1
1
  # coding: UTF-8
2
2
 
3
3
  module HamlCoffeeAssets
4
- VERSION = '1.4.6' unless defined?(HamlCoffeeAssets::VERSION)
4
+ VERSION = '1.4.7' unless defined?(HamlCoffeeAssets::VERSION)
5
5
  end
@@ -1,12 +1,3 @@
1
- /**
2
- * Fix for the Ruby Rhino
3
- */
4
- if (!String.prototype.trim) {
5
- String.prototype.trim = function () {
6
- return this.replace(/^\s*/, "").replace(/\s*$/, "");
7
- }
8
- }
9
-
10
1
  /**
11
2
  * Haml Coffee Asset compiler.
12
3
  */
data/lib/js/hamlcoffee.js CHANGED
@@ -363,7 +363,7 @@ require.define("/haml-coffee.coffee", function (require, module, exports, __dirn
363
363
 
364
364
  module.exports = HamlCoffee = (function() {
365
365
 
366
- HamlCoffee.VERSION = '1.4.6';
366
+ HamlCoffee.VERSION = '1.4.7';
367
367
 
368
368
  function HamlCoffee(options) {
369
369
  var _base, _base2, _base3, _base4, _base5, _base6, _base7, _base8, _base9, _ref, _ref2, _ref3, _ref4, _ref5, _ref6, _ref7, _ref8, _ref9;
@@ -1297,7 +1297,7 @@ require.define("/nodes/haml.coffee", function (require, module, exports, __dirna
1297
1297
  klass = classList[_i];
1298
1298
  classes += "" + (this.quoteAndEscapeAttributeValue(klass, true)) + ",";
1299
1299
  }
1300
- classes = classes.substring(0, classes.length - 1) + '].sort().join(\' \').trim() }';
1300
+ classes = classes.substring(0, classes.length - 1) + '].sort().join(\' \').replace(/^\\s+|\\s+$/g, \'\') }';
1301
1301
  } else {
1302
1302
  classes = classList.sort().join(' ');
1303
1303
  }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: haml_coffee_assets
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.6
4
+ version: 1.4.7
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: 2012-08-28 00:00:00.000000000 Z
12
+ date: 2012-09-03 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: coffee-script
@@ -108,7 +108,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
108
108
  version: '0'
109
109
  segments:
110
110
  - 0
111
- hash: -1891955470611117954
111
+ hash: -3085028744249036389
112
112
  required_rubygems_version: !ruby/object:Gem::Requirement
113
113
  none: false
114
114
  requirements: