grunt-angular-templates
Advanced tools
Comparing version 1.0.1 to 1.0.2
@@ -257,2 +257,12 @@ /* | ||
} | ||
}, | ||
linebreak: { | ||
src: 'test/fixtures/linebreak.html', | ||
dest: 'tmp/linebreak.js', | ||
}, | ||
regexp: { | ||
src: 'test/fixtures/regexp.html', | ||
dest: 'tmp/regexp.js' | ||
} | ||
@@ -259,0 +269,0 @@ } |
{ | ||
"name": "grunt-angular-templates", | ||
"description": "Grunt build task to concatenate & register your AngularJS templates in the $templateCache", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"homepage": "https://github.com/ericclemmons/grunt-angular-templates", | ||
@@ -6,0 +6,0 @@ "author": { |
@@ -369,2 +369,3 @@ # grunt-angular-templates | ||
- v1.0.2 - Fixes issue with escaping carriage returns ([#147](https://github.com/ericclemmons/grunt-angular-templates/pull/147)), Fixes issue with escaping backslashes ([#146](https://github.com/ericclemmons/grunt-angular-templates/pull/146)) | ||
- v1.0.1 - Log error instead of warning when minify fails ([#139](https://github.com/ericclemmons/grunt-angular-templates/pull/139)) | ||
@@ -371,0 +372,0 @@ - v1.0.0 - Updated unit tests for performance and bumps dependency versions ([#143](https://github.com/ericclemmons/grunt-angular-templates/pull/143)) |
@@ -190,3 +190,5 @@ /* | ||
line = line.replace(/\\/g, '\\\\'); | ||
line = line.replace(/\n/g, '\\n'); | ||
line = line.replace(/\r/g, '\\r'); | ||
var quoteRegExp = new RegExp(quote, 'g'); | ||
@@ -193,0 +195,0 @@ line = line.replace(quoteRegExp, '\\' + quote); |
@@ -222,4 +222,24 @@ 'use strict'; | ||
test.done(); | ||
}, | ||
linebreak: function(test) { | ||
test.expect(1); | ||
var actual = grunt.file.read('tmp/linebreak.js'); | ||
var expected = grunt.file.read('test/expected/linebreak.js'); | ||
test.equal(expected, actual); | ||
test.done(); | ||
}, | ||
regexp: function(test) { | ||
test.expect(1); | ||
var actual = grunt.file.read('tmp/regexp.js'); | ||
var expected = grunt.file.read('test/expected/regexp.js'); | ||
test.equal(expected, actual); | ||
test.done(); | ||
} | ||
}; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
58557
53
1170
431