//removePostScript.js
(function () {
/* global AdventureJS A */
var p = AdventureJS.Game.prototype;
/**
* Utility to allow authors to remove postScripts they have previously set.
* @memberOf AdventureJS.Game
* @method AdventureJS.Game#removePostScript
* @kind function
* @param {String} key The key of a previously defined postScript.
*/
p.removePostScript = function Game_removePostScript(key) {
if (this.post_scripts[key]) delete this.post_scripts[key];
};
})();