/**
* @class
* @name pc.ScopeSpace
* @classdesc The scope for variables and subspaces.
* @param {string} name - The scope name.
* @property {string} name The scope name.
*/
var ScopeSpace = function (name) {
// Store the name
this.name = name;
// Create the empty tables
this.variables = {};
this.namespaces = {};
};
is currently generating:
if (!assertType(name, "string", 'unnamed function expression', 'name')) {
youCanAddABreakpointHere();
}
Instead of unnamed function expression it should be ScopeSpace
This code:
is currently generating:
Instead of
unnamed function expression
it should beScopeSpace