Created
January 30, 2012 14:54
-
-
Save migerh/1704824 to your computer and use it in GitHub Desktop.
just trying the webstorm gist integration
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Assigns a value to a variable in the current scope. | |
* @param {String} vname Variable name | |
* @param {%} value Anything | |
* @see JXG.JessieCode#sstack | |
* @see JXG.JessieCode#scope | |
*/ | |
letvar: function (vname, value) { | |
if (this.builtIn[vname]) { | |
this._warn('"' + vname + '" is a predefined value.'); | |
} | |
this.sstack[this.scope][vname] = value; | |
}, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment