This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ========================================================================== | |
// Project: Ember EasyForm | |
// Copyright: Copyright 2013 DockYard, LLC. and contributors. | |
// License: Licensed under MIT license (see license.js) | |
// ========================================================================== | |
// Version: 1.0.0.beta.1 | |
// Copyright: Copyright 2013 DockYard, LLC. and contributors. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ========================================================================== | |
// Project: Ember EasyForm | |
// Copyright: Copyright 2013 DockYard, LLC. and contributors. | |
// License: Licensed under MIT license (see license.js) | |
// ========================================================================== | |
// Version: 1.0.0.beta.1 | |
// Copyright: Copyright 2013 DockYard, LLC. and contributors. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for(field in task.DisplayFields){ | |
var path = task.DisplayFields[field].split('.'); | |
var property = task; | |
for(subpath in path){ | |
property = property[path[subpath]] | |
} | |
DisplayAssociativeArray[task.DisplayFields[field]] = property; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
given that | |
ObjectA = sourceObject | |
ObjectB = destinationObject | |
it will fill Object b with the field in Object A | |
ObjectA{ |
NewerOlder