Comparing version 0.3.0 to 0.3.1
{ | ||
"name": "more-css", | ||
"version": "0.3.0", | ||
"version": "0.3.1", | ||
"description": "a css pre-compiler & agressive compressor", | ||
@@ -5,0 +5,0 @@ "maintainers": [ |
@@ -8,2 +8,3 @@ ##A css pre-compiler by javascript | ||
目前提供层级功能、子文件拆分(实际上就是原标准的@import语法,并不擅自发明规范之外的新语法)、层级变量、自动拆分字符串、@extend继承;还有css激进压缩器。 | ||
详细见:https://github.com/army8735/more/wiki/%E8%AF%B4%E6%98%8E%E6%96%87%E6%A1%A3 | ||
@@ -10,0 +11,0 @@ web目录下为书写符合AMD/CMD规范的js文件; |
@@ -159,2 +159,5 @@ var CssLexer = require('./lexer/CssLexer'), | ||
inHead = true; | ||
if(node.name() == Node.IMPORT) { | ||
isImport = true; | ||
} | ||
} | ||
@@ -171,5 +174,2 @@ else if(node.name() == Node.VARS) { | ||
} | ||
else if(node.name() == Node.IMPORT) { | ||
isImport = true; | ||
} | ||
else if(node.name() == Node.EXTEND) { | ||
@@ -176,0 +176,0 @@ isExtend = true; |
@@ -160,2 +160,5 @@ define(function(require, exports) { | ||
inHead = true; | ||
if(node.name() == Node.IMPORT) { | ||
isImport = true; | ||
} | ||
} | ||
@@ -172,5 +175,2 @@ else if(node.name() == Node.VARS) { | ||
} | ||
else if(node.name() == Node.IMPORT) { | ||
isImport = true; | ||
} | ||
else if(node.name() == Node.EXTEND) { | ||
@@ -177,0 +177,0 @@ isExtend = true; |
410565
63