Sha256: 4614375022a179b5881438136f8c260204eec1d5ac53bb60d37bb1be9cb7e698
Contents?: true
Size: 544 Bytes
Versions: 12
Compression:
Stored size: 544 Bytes
Contents
var Params = { names: ["invitation", "page"], parameters: {}, init: function(launchParams) { launchParams = launchParams || {}; Debug.log("Params.init", launchParams); if (launchParams) { Params.parameters = launchParams; } else { Params.parameters = {}; } }, get: function(name) { Debug.log("Params.get", name); var index, result; index = $.inArray(name, Params.names); if (index >= 0) { result = Params.parameters["param" + index]; } return result; } };
Version data entries
12 entries across 12 versions & 1 rubygems