diff options
Diffstat (limited to 'node_modules/montage')
110 files changed, 8781 insertions, 3970 deletions
diff --git a/node_modules/montage/core/converter/date-converter.js b/node_modules/montage/core/converter/date-converter.js index b00a5b22..f0d3e540 100755 --- a/node_modules/montage/core/converter/date-converter.js +++ b/node_modules/montage/core/converter/date-converter.js | |||
@@ -2573,6 +2573,15 @@ var DateValidator = exports.DateValidator = Montage.create(Validator,/** @lends | |||
2573 | @class module:montage/core/converter/date-converter.DateConverter | 2573 | @class module:montage/core/converter/date-converter.DateConverter |
2574 | */ | 2574 | */ |
2575 | var DateConverter = exports.DateConverter = Montage.create(Converter,/** @lends module:montage/core/converter/date-converter.DateConverter# */ { | 2575 | var DateConverter = exports.DateConverter = Montage.create(Converter,/** @lends module:montage/core/converter/date-converter.DateConverter# */ { |
2576 | /** | ||
2577 | Specifies whether the converter allows partial conversion. | ||
2578 | @type {Property} | ||
2579 | @default {Boolean} true | ||
2580 | */ | ||
2581 | allowPartialConversion: { | ||
2582 | value: false | ||
2583 | }, | ||
2584 | |||
2576 | /** | 2585 | /** |
2577 | @type {Property} | 2586 | @type {Property} |
2578 | @default {Function} Montage.create(DateValidator) | 2587 | @default {Function} Montage.create(DateValidator) |
diff --git a/node_modules/montage/core/core.js b/node_modules/montage/core/core.js index b665f591..8c1f4249 100755 --- a/node_modules/montage/core/core.js +++ b/node_modules/montage/core/core.js | |||
@@ -788,7 +788,8 @@ Description | |||
788 | */ | 788 | */ |
789 | Object.defineProperty(Object.prototype, "setProperty", { | 789 | Object.defineProperty(Object.prototype, "setProperty", { |
790 | value: function(aPropertyPath, value) { | 790 | value: function(aPropertyPath, value) { |
791 | var lastDotIndex = aPropertyPath.lastIndexOf("."), | 791 | var propertyIsNumber = !isNaN(aPropertyPath), |