@webqit/subscript
Advanced tools
Comparing version 2.1.4 to 2.1.5
@@ -11,3 +11,3 @@ { | ||
"homepage": "https://webqit.io/tooling/subscript", | ||
"version": "2.1.4", | ||
"version": "2.1.5", | ||
"license": "MIT", | ||
@@ -14,0 +14,0 @@ "repository": { |
@@ -122,5 +122,5 @@ | ||
} catch(e) { | ||
console.error('-----------------------'); | ||
console.log(originalSource); | ||
console.error('-----------------------'); | ||
console.info('-----------------------'); | ||
console.log(this.params.originalSource || ''); | ||
console.info('-----------------------'); | ||
throw e; | ||
@@ -127,0 +127,0 @@ } |
@@ -106,3 +106,3 @@ /** | ||
const create = function( defaultThis, compilation, parameters = [], _runtimeParams = {}, originalSource = null, sourceName = null ) { | ||
let runtime = Runtime.create( compilation, parameters, { ..._runtimeParams, ...SubscriptFunction.runtimeParams } ); | ||
let runtime = Runtime.create( compilation, parameters, { ..._runtimeParams, ...SubscriptFunction.runtimeParams, originalSource } ); | ||
let _function = function( ...args ) { | ||
@@ -109,0 +109,0 @@ return runtime.call( this === undefined ? defaultThis : this, ...args ); |
Sorry, the diff of this file is too big to display
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
Sorry, the diff of this file is too big to display
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
Sorry, the diff of this file is too big to display
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
3663121
6908