David Fugate 2012-02-24 10:50:14 -08:00
parent e0d156d38c
commit 35af99abe1
3 changed files with 3 additions and 3 deletions

View File

@ -8,7 +8,7 @@
* @description Apply String.prototype.slice to Object instance, and call instance.slice(...).slice(...)
*/
var __instance = function(){};
var __instance = { toString: function() { return "function(){}";} };
__instance.slice = String.prototype.slice;

View File

@ -10,7 +10,7 @@
* @description Instance is function(){}
*/
var __instance = function(){};
var __instance = { toString: function() { return "function(){}";} };
__instance.split = String.prototype.split;

View File

@ -9,7 +9,7 @@
* @description Apply String.prototype.substring to Object instance. Call instance.substring(...).substring(...)
*/
var __instance = function(){};
var __instance = { toString: function() { return "function(){}";} };
__instance.substring = String.prototype.substring;