|
/// <reference path="..//intellisense.js" />
/*global $, Model */
Model.Location = function (config) {
/// <summary>
/// A model that represents a location. This is composed of a human readable display string and a
/// placename, which is the string sent to Nestoria in order to perform a search.
///
/// e.g. longTitle='Albury, Guildford', placename = 'albury_guildford'
/// </summary>
// this display name
this.longTitle = config.longTitle;
// the query name
this.placeName = config.placeName;
};
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.