Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

refactor remove EnvironmentBase.setEnvironment

  • Loading branch information...
commit 12a4429895ade842357a523ef0cdc0be34d4b744 1 parent dca6478
@jakub-g jakub-g authored divdavem committed
View
17 src/aria/core/environment/EnvironmentBase.js
@@ -123,22 +123,7 @@ Aria.classDefinition({
*/
checkApplicationSettings : function (name) {
return aria.core.AppEnvironment.applicationSettings[name];
- },
-
- /**
- * This method is deprecated. Please use aria.core.AppEnvironment.setEnvironment instead.<br />
- * Stores the application variables. Please refer to documentation for parameter types.
- * @public
- * @param {Object} cfg Configuration object
- * @param {aria.core.JsObject.Callback} cb Method to be called after the setting is done
- * @param {Boolean} update flag to update existing application settings, when false will overwrite existing with
- * new settings.
- * @deprecated
- */
- setEnvironment : function (cfg, callback, merge) {
- this.$logWarn("The setEnvironment method on this object is deprecated. Please use aria.core.AppEnvironment.setEnvironment instead.");
- aria.core.AppEnvironment.setEnvironment(cfg, callback, merge);
}
}
-});
+});
View
8 test/aria/core/environment/Customizations.js
@@ -69,7 +69,7 @@ Aria.classDefinition({
},
testGetFlowCP : function () {
- aria.core.environment.Customizations.setEnvironment({
+ aria.core.AppEnvironment.setEnvironment({
customization : {
descriptor : {
flows : {
@@ -84,7 +84,7 @@ Aria.classDefinition({
},
testGetTemplateCP : function () {
- aria.core.environment.Customizations.setEnvironment({
+ aria.core.AppEnvironment.setEnvironment({
customization : {
descriptor : {
templates : {
@@ -114,7 +114,7 @@ Aria.classDefinition({
},
testSetCustomizations : function () {
- aria.core.environment.Customizations.setEnvironment({
+ aria.core.AppEnvironment.setEnvironment({
customization : {
descriptor : {
flows : {
@@ -166,4 +166,4 @@ Aria.classDefinition({
this.notifyTestEnd('testAsyncInvalidCustomizationDescriptor');
}
}
-});
+});
Please sign in to comment.
Something went wrong with that request. Please try again.