Add properties/methods to DataSource from ModelBuilder
This commit is contained in:
parent
ec93fed2ed
commit
8d9d73efff
|
@ -1657,3 +1657,17 @@ function defineReadonlyProp(obj, key, value) {
|
|||
});
|
||||
}
|
||||
|
||||
|
||||
// Carry over a few properties/methods from the ModelBuilder as some tests use them
|
||||
DataSource.Text = ModelBuilder.Text;
|
||||
DataSource.JSON = ModelBuilder.JSON;
|
||||
DataSource.Any = ModelBuilder.Any;
|
||||
|
||||
/*!
|
||||
* @deprecated Use ModelBuilder.registerType instead
|
||||
* @param type
|
||||
*/
|
||||
DataSource.registerType = function(type) {
|
||||
ModelBuilder.registerType(type);
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue