Comparing version 0.4.7 to 0.4.8
{ | ||
"name": "jsdc", | ||
"version": "0.4.7", | ||
"version": "0.4.8", | ||
"description": "compiler ecmascript6 to ecmascript5", | ||
@@ -5,0 +5,0 @@ "maintainers": [ |
@@ -100,8 +100,9 @@ var homunculus = require('homunculus'); | ||
else { | ||
this.jsdc.appendBefore('Object.prototype.toString.call('); | ||
this.jsdc.appendBefore(o.value); | ||
this.jsdc.appendBefore(')=="[object String]"?'); | ||
this.jsdc.appendBefore(o.value); | ||
this.jsdc.appendBefore('.split(""):'); | ||
this.jsdc.appendBefore(o.value); | ||
this.jsdc.appendBefore('function(){var '); | ||
var temp = this.jsdc.uid(); | ||
var temp2 = this.jsdc.uid(); | ||
this.jsdc.appendBefore(temp); | ||
this.jsdc.appendBefore('=[],' + temp2); | ||
this.jsdc.appendBefore(';while(!' + temp2 + '=' + o.value + '.next().done)'); | ||
this.jsdc.appendBefore(temp + '.push(' + temp2 + '.value)}()'); | ||
} | ||
@@ -108,0 +109,0 @@ this.jsdc.appendBefore(')'); |
@@ -101,8 +101,9 @@ define(function(require, exports, module) { | ||
else { | ||
this.jsdc.appendBefore('Object.prototype.toString.call('); | ||
this.jsdc.appendBefore(o.value); | ||
this.jsdc.appendBefore(')=="[object String]"?'); | ||
this.jsdc.appendBefore(o.value); | ||
this.jsdc.appendBefore('.split(""):'); | ||
this.jsdc.appendBefore(o.value); | ||
this.jsdc.appendBefore('function(){var '); | ||
var temp = this.jsdc.uid(); | ||
var temp2 = this.jsdc.uid(); | ||
this.jsdc.appendBefore(temp); | ||
this.jsdc.appendBefore('=[],' + temp2); | ||
this.jsdc.appendBefore(';while(!' + temp2 + '=' + o.value + '.next().done)'); | ||
this.jsdc.appendBefore(temp + '.push(' + temp2 + '.value)}()'); | ||
} | ||
@@ -109,0 +110,0 @@ this.jsdc.appendBefore(')'); |
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
7155
311189