Created
August 11, 2017 11:29
-
-
Save cimfalab/ff8a37ff91f01cbf8031a50dc601ff25 to your computer and use it in GitHub Desktop.
serverValidator.js
This file contains 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
loadRecommendationsSuccess: function(data) { | |
if (!data) { | |
console.warn('error while loading default config values'); | |
} | |
this._saveRecommendedValues(data); | |
var configObject = data.resources[0].recommendations.blueprint.configurations; | |
if (configObject) this.updateInitialValue(configObject); | |
this.set("recommendationsConfigs", Em.get(data.resources[0] , "recommendations.blueprint.configurations")); | |
}, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment