diff options
author | Jose Antonio Marquez | 2012-06-20 16:47:37 -0700 |
---|---|---|
committer | Jose Antonio Marquez | 2012-06-20 16:47:37 -0700 |
commit | 313a62245400e6c8cfa6d2f02c603cc7f01ddfc6 (patch) | |
tree | c207d1290be0e894a57b03098bbb7bbe5f2aee86 /node_modules/montage/data/restriction.js | |
parent | 2496e0d0b0ac5f8c53b12de77f0feda69ce4a2f4 (diff) | |
parent | 392a559e90357d48c910a07617261483b2b45476 (diff) | |
download | ninja-313a62245400e6c8cfa6d2f02c603cc7f01ddfc6.tar.gz |
Merge branch 'refs/heads/Ninja-Internal' into Document
Diffstat (limited to 'node_modules/montage/data/restriction.js')
-rwxr-xr-x | node_modules/montage/data/restriction.js | 61 |
1 files changed, 31 insertions, 30 deletions
diff --git a/node_modules/montage/data/restriction.js b/node_modules/montage/data/restriction.js index 53c2f19d..3a4896b8 100755 --- a/node_modules/montage/data/restriction.js +++ b/node_modules/montage/data/restriction.js | |||
@@ -1,36 +1,36 @@ | |||
1 | /* <copyright> | 1 | /* <copyright> |
2 | This file contains proprietary software owned by Motorola Mobility, Inc.<br/> | 2 | This file contains proprietary software owned by Motorola Mobility, Inc.<br/> |
3 | No rights, expressed or implied, whatsoever to this software are provided by Motorola Mobility, Inc. hereunder.<br/> | 3 | No rights, expressed or implied, whatsoever to this software are provided by Motorola Mobility, Inc. hereunder.<br/> |
4 | (c) Copyright 2011 Motorola Mobility, Inc. All Rights Reserved. | 4 | (c) Copyright 2011 Motorola Mobility, Inc. All Rights Reserved. |
5 | </copyright> */ | 5 | </copyright> */ |
6 | /** | 6 | /** |
7 | @module montage/data/restriction | 7 | @module montage/data/restriction |
8 | @requires montage/core/core | 8 | @requires montage/core/core |
9 | @requires montage/core/logger | 9 | @requires montage/core/logger |
10 | */ | 10 | */ |
11 | var Montage = require("montage").Montage; | 11 | var Montage = require("montage").Montage; |
12 | // var Selector = require("data/selector").Selector; | ||
13 | var logger = require("core/logger").logger("restrictions"); | 12 | var logger = require("core/logger").logger("restrictions"); |
14 | /** | 13 | /** |
15 | @class module:montage/data/restriction.Restriction | 14 | @class module:montage/data/restriction.Restriction |
16 | @extends module:montage/core/core.Montage | 15 | @extends module:montage/core/core.Montage |
17 | */ | 16 | */ |
18 | var Restriction = exports.Restriction = Montage.create(Montage,/** @lends module:montage/data/restriction.Restriction# */ { | 17 | var Restriction = exports.Restriction = Montage.create(Montage, /** @lends module:montage/data/restriction.Restriction# */ { |
19 | /** | 18 | /** |
20 | Description TODO | 19 | Description TODO |
21 | @type {Property} | 20 | @type {Property} |
22 | @default {String} "" | 21 | @default {String} "" |
23 | */ | 22 | */ |
24 | name: { | 23 | name: { |
25 | serializable: true, | 24 | serializable: true, |
26 | enumerable: true, | 25 | enumerable: true, |
27 | value: "" | 26 | value: "" |
28 | }, | 27 | }, |
29 | /** | 28 | |
30 | Description TODO | 29 | /** |
31 | @type {Property} | 30 | Description TODO |
32 | @default {String}{} | 31 | @type {Property} |
33 | */ | 32 | @default {String}{} |
33 | */ | ||
34 | parameters: { | 34 | parameters: { |
35 | value: {}, | 35 | value: {}, |
36 | serializable: true, | 36 | serializable: true, |
@@ -38,13 +38,14 @@ var Restriction = exports.Restriction = Montage.create(Montage,/** @lends module | |||
38 | enumerable: false, | 38 | enumerable: false, |
39 | writable: false | 39 | writable: false |
40 | }, | 40 | }, |
41 | /** | 41 | |
42 | Description TODO | 42 | /** |
43 | @function | 43 | Description TODO |
44 | @param {String} name To be initialized | 44 | @function |
45 | @param {String} parameters To be initialized | 45 | @param {String} name To be initialized |
46 | @returns itself | 46 | @param {String} parameters To be initialized |
47 | */ | 47 | @returns itself |
48 | */ | ||
48 | initWithNameAndParameters: { | 49 | initWithNameAndParameters: { |
49 | enumerable: false, | 50 | enumerable: false, |
50 | value: function(name, parameters) { | 51 | value: function(name, parameters) { |