Created
November 13, 2016 15:57
-
-
Save triacontane/b051ca1677634de71218905836bed535 to your computer and use it in GitHub Desktop.
パラメータがONの場合のみ既存メソッドを上書きする
This file contains hidden or 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
if (pluginParam) { | |
var _Window_Message_processEscapeCharacter = Window_Message.prototype.processEscapeCharacter; | |
Window_Message.prototype.processEscapeCharacter = function(code, textState) { | |
_Window_Message_processEscapeCharacter.apply(this, arguments); | |
console.log('aaaa'); | |
}; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment