haml_coffee_assets 1.15.0 → 1.15.1
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.
- checksums.yaml +4 -4
- data/lib/haml_coffee_assets/version.rb +1 -1
- data/lib/js/hamlcoffee.js +5 -5
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f258c574a0bc84b5264c7225c55cbd9c7aea99b5
|
|
4
|
+
data.tar.gz: 539718a68e6f321b7fd87ef3b7f66a447da7af37
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 70198ac8157c958a237d420a3d51cc41b63e879f7e61da679a7eab0da7595c91cf0002a6125bccc2fb767bcb5581bff72678b8e8b00fa35b67328e03771aa8c0
|
|
7
|
+
data.tar.gz: cba2e9294bd23ccebd4dff41271062f06f5768529d03eb98e137c266d17159e9d550b6b1f1d1c2699a3f9af7bce4aa8edb0371e5969e7b65cd8af325a3fd1dbd
|
data/lib/js/hamlcoffee.js
CHANGED
|
@@ -454,7 +454,7 @@ require.define("/haml-coffee.coffee",function(require,module,exports,__dirname,_
|
|
|
454
454
|
indent = require('./util/text').indent;
|
|
455
455
|
|
|
456
456
|
module.exports = HamlCoffee = (function() {
|
|
457
|
-
HamlCoffee.VERSION = '1.13.
|
|
457
|
+
HamlCoffee.VERSION = '1.13.5';
|
|
458
458
|
|
|
459
459
|
function HamlCoffee(options) {
|
|
460
460
|
var segment, segments, _base, _base1, _base10, _base11, _base12, _base13, _base2, _base3, _base4, _base5, _base6, _base7, _base8, _base9, _i, _len;
|
|
@@ -941,9 +941,9 @@ require.define("/haml-coffee.coffee",function(require,module,exports,__dirname,_
|
|
|
941
941
|
HamlCoffee.prototype.convertBooleans = function(code) {
|
|
942
942
|
if (code.indexOf('$c') !== -1) {
|
|
943
943
|
if (this.options.format === 'xhtml') {
|
|
944
|
-
return '.replace(/\\s(\\w+)=\'\u0093true\'/mg, " $1=\'$1\'").replace(/\\s(\\w+)=\'\u0093false\'/mg, \'\')';
|
|
944
|
+
return '.replace(/\\s([\\w-]+)=\'\u0093true\'/mg, " $1=\'$1\'").replace(/\\s([\\w-]+)=\'\u0093false\'/mg, \'\')';
|
|
945
945
|
} else {
|
|
946
|
-
return '.replace(/\\s(\\w+)=\'\u0093true\'/mg, \' $1\').replace(/\\s(\\w+)=\'\u0093false\'/mg, \'\')';
|
|
946
|
+
return '.replace(/\\s([\\w-]+)=\'\u0093true\'/mg, \' $1\').replace(/\\s([\\w-]+)=\'\u0093false\'/mg, \'\')';
|
|
947
947
|
}
|
|
948
948
|
} else {
|
|
949
949
|
return '';
|
|
@@ -2129,11 +2129,11 @@ require.define("/nodes/directive.coffee",function(require,module,exports,__dirna
|
|
|
2129
2129
|
statement = (function() {
|
|
2130
2130
|
switch (this.placement) {
|
|
2131
2131
|
case 'global':
|
|
2132
|
-
return "" + this.namespace + "['" + name + "']
|
|
2132
|
+
return "" + this.namespace + "['" + name + "'](" + context + ")";
|
|
2133
2133
|
case 'amd':
|
|
2134
2134
|
return "require('" + name + "').apply(" + context + ")";
|
|
2135
2135
|
case 'standalone':
|
|
2136
|
-
if (browser.process) {
|
|
2136
|
+
if (typeof browser !== "undefined" && browser !== null ? browser.process : void 0) {
|
|
2137
2137
|
throw new Error("Include directive not available in the Browser when placement is standalone.");
|
|
2138
2138
|
} else {
|
|
2139
2139
|
try {
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: haml_coffee_assets
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.15.
|
|
4
|
+
version: 1.15.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Michael Kessler
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2013-
|
|
11
|
+
date: 2013-11-27 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: coffee-script
|
|
@@ -110,7 +110,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
110
110
|
version: 1.3.6
|
|
111
111
|
requirements: []
|
|
112
112
|
rubyforge_project: haml_coffee_assets
|
|
113
|
-
rubygems_version: 2.1.
|
|
113
|
+
rubygems_version: 2.1.11
|
|
114
114
|
signing_key:
|
|
115
115
|
specification_version: 4
|
|
116
116
|
summary: Haml CoffeeScript templates
|