Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fixed generated style extension and JSON generation, fixes #003

  • Loading branch information...
commit 018f417234c320712fb53dde1cb35690aabdb79a 1 parent c64d802
@tonylukasavage tonylukasavage authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 Alloy/alloy.js
View
4 Alloy/alloy.js
@@ -878,7 +878,7 @@ function generateView(home,args)
{
die("File already exists: "+vn);
}
- var sn = path.join(home,'styles',name+'.xml');
+ var sn = path.join(home,'styles',name+'.json');
if (path.existsSync(sn) && !program.force)
{
die("File already exists: "+sn);
@@ -893,7 +893,7 @@ function generateView(home,args)
' ".container":\n' +
' {\n' +
' "backgroundColor":"white"\n'+
- ' },\n'
+ ' },\n' +
"}\n";
fs.writeFileSync(vn,XML);
Please sign in to comment.
Something went wrong with that request. Please try again.