Skip to content

Instantly share code, notes, and snippets.

@mnem
Created May 22, 2010 21:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mnem/410367 to your computer and use it in GitHub Desktop.
Save mnem/410367 to your computer and use it in GitHub Desktop.
package shadowed
{
import flash.system.ApplicationDomain;
/**
* @author David Wagner
*/
public class ShadowedUnescape
{
private static var _unescape :Function;
// Static initialiser block.
{
_unescape = ApplicationDomain.currentDomain.getDefinition("unescape") as Function;
}
public function unescape(foo :String) :String
{
return _unescape(foo);
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment