Remove extra commas.
authorXhmikosR <xhmikosr@gmail.com>
Sun, 1 Mar 2015 13:22:40 +0000 (15:22 +0200)
committerXhmikosR <xhmikosr@gmail.com>
Sun, 1 Mar 2015 13:22:40 +0000 (15:22 +0200)
lib/imports/inliner.js
lib/selectors/source-map-stringifier.js
test/integration-test.js
test/selectors/optimizer-test.js
test/selectors/optimizers/simple-test.js
test/selectors/tokenizer-source-maps-test.js
test/selectors/tokenizer-test.js
test/source-map-test.js

index 9b6004e..697388c 100644 (file)
@@ -321,7 +321,7 @@ function inlineLocalResource(importedFile, mediaQuery, context) {
     importedData = '@media ' + mediaQuery + '{' + importedData + '}';
 
   var newContext = override(context, {
-    relativeTo: importRelativeTo,
+    relativeTo: importRelativeTo
   });
 
   return importFrom(importedData, newContext);
index 3dcdad4..a2d3889 100644 (file)
@@ -119,7 +119,7 @@ Rebuilder.prototype.trackMetadata = function (metadata, value, allowNFallbacks)
   this.outputMap.addMapping({
     generated: {
       line: this.line,
-      column: this.column,
+      column: this.column
     },
     source: this.stylingSourceFor(original, metadata) || '__stdin__.css',
     original: {
index 08607d4..adccfdf 100644 (file)
@@ -1084,7 +1084,7 @@ path")}',
     'keeps urls the same': [
       '@import url(base.css);',
       'a{background:url(../partials/extra/down.gif)no-repeat}'
-    ],
+    ]
   }, {
     target: path.join(process.cwd(), 'test.css'),
     relativeTo: path.join('test', 'fixtures', 'partials-relative'),
index 80ac530..3cb85b4 100644 (file)
@@ -207,7 +207,7 @@ vows.describe(SelectorsOptimizer)
       'whitespace body': [
         'a{   \n }',
         ''
-      ],
+      ]
     })
   )
   .addBatch(
index 813de29..648f8d5 100644 (file)
@@ -492,7 +492,7 @@ vows.describe(SimpleOptimizer)
       'rect zeros with commas': [
         'a{clip:rect(0px, 0px, 0px, 0px)}',
         ['clip:rect(0,0,0,0)']
-      ],
+      ]
     })
   )
   .addBatch(
index 39bf5fb..8968eb8 100644 (file)
@@ -295,7 +295,7 @@ vows.describe('source-maps/analyzer')
                 kind: 'selector',
                 value: [{ value: 'a', metadata: { line: 1, column: 25, source: undefined } }],
                 body: [{ value: 'color:red', metadata: { line: 1, column: 27, source: undefined } }]
-              },
+              }
             ]
           },
           {
@@ -336,7 +336,7 @@ vows.describe('source-maps/analyzer')
             metadata: { line: 2, column: 0, source: undefined },
             isFlatBlock: true,
             body: [
-              { value: 'font-family:"Font"', metadata: { line: 3, column: 1, source: undefined } },
+              { value: 'font-family:"Font"', metadata: { line: 3, column: 1, source: undefined } }
             ]
           }
         ]
index 0d8df0c..7c34885 100644 (file)
@@ -298,7 +298,7 @@ vows.describe(Tokenizer)
             selector: 'a,\n\ndiv.class > p ',
             selectorsList: ['a', '\n\ndiv.class > p ']
           }
-        }],
+        }]
       ],
       'two selectors': [
         'a{color:red}div{color:blue}',
index 8e1bc09..477482e 100644 (file)
@@ -473,7 +473,7 @@ vows.describe('source-map')
           return mapping.source == 'styles.less';
         });
         assert.lengthOf(stylesSource, 2);
-      },
+      }
     },
     'nested once': {
       'topic': new CleanCSS({ sourceMap: true }).minify('@import url(test/fixtures/source-maps/nested/once.css);'),