natural-web
Advanced tools
Comparing version 0.0.6 to 0.0.7
@@ -19,4 +19,9 @@ "use strict"; | ||
}); | ||
var sorted = intermediate.sort(function (a, b) { | ||
if (a.type === 'script') | ||
return -1; | ||
return 0; | ||
}); | ||
//fs.writeFileSync('./out.json', JSON.stringify(intermediate, null, 4)); | ||
return renderer_1.render(interpretation_1.interpret(intermediate)); | ||
return renderer_1.render(interpretation_1.interpret(sorted)); | ||
} | ||
@@ -23,0 +28,0 @@ exports.run = run; |
{ | ||
"name": "natural-web", | ||
"version": "0.0.6", | ||
"version": "0.0.7", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "contributors": [ |
@@ -28,5 +28,10 @@ import { parseTokens } from './tokenizer'; | ||
const sorted = intermediate.sort( ( a: CodeSection, b: CodeSection ) => { | ||
if( a.type === 'script' ) return -1; | ||
return 0; | ||
} ); | ||
//fs.writeFileSync('./out.json', JSON.stringify(intermediate, null, 4)); | ||
return render( interpret( intermediate ) ); | ||
return render( interpret( sorted ) ); | ||
} | ||
@@ -33,0 +38,0 @@ |
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
248800
6072