strider-extension-loader
Advanced tools
Comparing version 0.4.0 to 0.4.1
@@ -140,2 +140,6 @@ | ||
initConfig: function (jspath, csspath, done) { | ||
if (arguments.length === 1) { | ||
done = jspath | ||
jspath = csspath = null | ||
} | ||
var alljs = [] | ||
@@ -184,2 +188,5 @@ , allcss = [] | ||
, csstext = allcss.join('\n\n') | ||
if (jspath === null && csspath === null) { | ||
return done(null, jstext, csstext, configs) | ||
} | ||
fs.writeFile(jspath, jstext, 'utf8', function (err) { | ||
@@ -194,2 +201,6 @@ fs.writeFile(csspath, csstext, 'utf8', function (cerr) { | ||
initUserConfig: function (jspath, csspath, done) { | ||
if (arguments.length === 1) { | ||
done = jspath | ||
jspath = csspath = null | ||
} | ||
var alljs = [] | ||
@@ -239,2 +250,5 @@ , allcss = [] | ||
, csstext = allcss.join('\n\n') | ||
if (jspath === null && csspath === null) { | ||
return done(null, jstext, csstext, configs) | ||
} | ||
fs.writeFile(jspath, jstext, 'utf8', function (err) { | ||
@@ -249,2 +263,6 @@ fs.writeFile(csspath, csstext, 'utf8', function (cerr) { | ||
initStatusBlocks: function (jspath, csspath, done) { | ||
if (arguments.length === 1) { | ||
done = jspath | ||
jspath = csspath = null | ||
} | ||
var alljs = [] | ||
@@ -282,2 +300,5 @@ , allcss = [] | ||
, csstext = allcss.join('\n\n') | ||
if (jspath === null && csspath === null) { | ||
return done(null, jstext, csstext, blocks) | ||
} | ||
fs.writeFile(jspath, jstext, 'utf8', function (err) { | ||
@@ -284,0 +305,0 @@ fs.writeFile(csspath, csstext, 'utf8', function (cerr) { |
{ | ||
"name": "strider-extension-loader", | ||
"version": "0.4.0", | ||
"version": "0.4.1", | ||
"description": "Load Strider extensions", | ||
@@ -5,0 +5,0 @@ "main": "main.js", |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
53992
857
1