Created
May 22, 2010 21:10
-
-
Save mnem/410367 to your computer and use it in GitHub Desktop.
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
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