Pre-release
AdventureJS Docs Downloads
Score: 0 Moves: 0
// getAbbreviation.js

(function () {
  /* global adventurejs A */

  var p = adventurejs.Dictionary.prototype;

  /**
   * Check if specified word is listed in dictionary.abbreviations.
   * @memberOf adventurejs.Dictionary
   * @method adventurejs.Dictionary#getAbbreviation
   * @kind function
   * @param {String} word
   * @ajsinternal
   */
  p.getAbbreviation = function Dictionary_getAbbreviation(word) {
    return this.abbreviations[word];
  };
})();