grunt-cssjanus
Advanced tools
Comparing version 0.1.1 to 0.1.2
{ | ||
"name": "grunt-cssjanus", | ||
"description": "Grunt plugin to convert CSS stylesheets between left-to-right and right-to-left", | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"homepage": "https://github.com/yoavf/grunt-cssjanus", | ||
@@ -6,0 +6,0 @@ "author": { |
@@ -24,3 +24,3 @@ # grunt-cssjanus | ||
Type: `Boolean` | ||
Default value: `false` | ||
Default value: `true` | ||
@@ -44,4 +44,6 @@ Whether to replace 'ltr' with 'rtl' and vice versa in urls. | ||
0.1.2 - Only outputs file creation message if file has been created | ||
0.1.1 - Add the generateExactDuplicates option | ||
0.1.0 - initial release |
@@ -36,9 +36,9 @@ /* | ||
var rtlcss = cssjanus.transform( src, options.swapLtrRtlInUrl, options.swapLeftRightInUrl ); | ||
if ( ! options.generateExactDuplicates && rtlcss == src ) | ||
if ( ! options.generateExactDuplicates && rtlcss == src ) { | ||
grunt.log.writeln('Nothing to flip in ' + f.src ); | ||
else // Write the destination file. | ||
} else { // Write the destination file. | ||
grunt.file.write(f.dest, rtlcss); | ||
grunt.log.writeln('File "' + f.dest + '" created.'); | ||
} | ||
// Print a success message. | ||
grunt.log.writeln('File "' + f.dest + '" created.'); | ||
}); | ||
@@ -45,0 +45,0 @@ }); |
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
5525
48