haml_coffee_assets 1.4.5 → 1.4.6

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.
@@ -1,5 +1,5 @@
1
1
  # coding: UTF-8
2
2
 
3
3
  module HamlCoffeeAssets
4
- VERSION = '1.4.5' unless defined?(HamlCoffeeAssets::VERSION)
4
+ VERSION = '1.4.6' unless defined?(HamlCoffeeAssets::VERSION)
5
5
  end
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.5';
366
+ HamlCoffee.VERSION = '1.4.6';
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;
@@ -1721,10 +1721,10 @@ require.define("/hamlc.coffee", function (require, module, exports, __dirname, _
1721
1721
 
1722
1722
  Compiler = require('./haml-coffee');
1723
1723
 
1724
- if (process.title === 'node') {
1725
- CoffeeScript = require('coffee-script');
1726
- } else {
1724
+ if (process.browser) {
1727
1725
  CoffeeScript = window.CoffeeScript;
1726
+ } else {
1727
+ CoffeeScript = require('coffee-script');
1728
1728
  }
1729
1729
 
1730
1730
  __expressCache = {};
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.5
4
+ version: 1.4.6
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -108,7 +108,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
108
108
  version: '0'
109
109
  segments:
110
110
  - 0
111
- hash: 4005685903116156639
111
+ hash: -1891955470611117954
112
112
  required_rubygems_version: !ruby/object:Gem::Requirement
113
113
  none: false
114
114
  requirements: