Merge branch 'release/1.3.5' into production

This commit is contained in:
Raymond Feng 2014-02-27 11:14:29 -08:00
commit 5c03bc8aef
2 changed files with 2 additions and 2 deletions

View File

@ -380,7 +380,7 @@ ModelBuilder.prototype.define = function defineClass(className, properties, sett
} else { } else {
// Assume the type constructor handles Constructor() call // Assume the type constructor handles Constructor() call
// If not, we should call new DataType(value).valueOf(); // If not, we should call new DataType(value).valueOf();
this.__data[propertyName] = DataType(value); this.__data[propertyName] = (value instanceof DataType) ? value : DataType(value);
} }
} }
} }

View File

@ -1,6 +1,6 @@
{ {
"name": "loopback-datasource-juggler", "name": "loopback-datasource-juggler",
"version": "1.3.4", "version": "1.3.5",
"description": "LoopBack DataSoure Juggler", "description": "LoopBack DataSoure Juggler",
"keywords": [ "keywords": [
"StrongLoop", "StrongLoop",