less-openui5
Advanced tools
Comparing version 0.1.1 to 0.1.2
@@ -32,3 +32,5 @@ // Copyright 2014 SAP SE. | ||
visitImport: function(importNode, visitArgs) { | ||
this.aImports.push(importNode.importedFilename); | ||
if (importNode.importedFilename) { | ||
this.aImports.push(importNode.importedFilename); | ||
} | ||
}, | ||
@@ -35,0 +37,0 @@ getImports: function() { |
{ | ||
"name": "less-openui5", | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"description": "Build OpenUI5 themes with Less.js", | ||
@@ -5,0 +5,0 @@ "scripts": { |
@@ -239,8 +239,9 @@ // Copyright 2014 SAP SE. | ||
assert.equal(result.css, '', 'css should be empty.'); | ||
assert.equal(result.css, readFile('test/expected/imports/main.css'), 'css should be correctly generated.'); | ||
assert.deepEqual(result.variables, {}, 'variables should be empty.'); | ||
assert.deepEqual(result.imports, [ | ||
path.join('test', 'fixtures', 'imports', 'dir1', 'foo.less'), | ||
path.join('test', 'fixtures', 'imports', 'dir2', 'bar.less') | ||
], 'import list should not correctly filled.'); | ||
path.join('test', 'fixtures', 'imports', 'dir2', 'bar.less'), | ||
path.join('test', 'fixtures', 'imports', 'dir3', 'inline.css') | ||
], 'import list should be correctly filled.'); | ||
@@ -247,0 +248,0 @@ done(); |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
133669
54
2383