@italentjs/italent-header
Advanced tools
Comparing version 1.0.2 to 1.0.3
@@ -341,3 +341,3 @@ /* | ||
this.options = options; | ||
debugger; | ||
this.model.set(options. i18nInfo) | ||
@@ -372,15 +372,15 @@ this.model.set({ | ||
,onShow(){ | ||
// var self = this; | ||
// Talent.$.ajax({ | ||
// url: options.getApiUrl | ||
// }) | ||
// .done(function(ret){ | ||
// if (ret.Code === 1) { | ||
// if (ret.Data.isOpenInternational) { | ||
// self.model.set({ | ||
// list: ret.Data.tenantLanguages | ||
// }); | ||
// } | ||
// } | ||
// }); | ||
var self = this; | ||
Talent.$.ajax({ | ||
url: options.getApiUrl | ||
}) | ||
.done(function(ret){ | ||
if (ret.Code === 1) { | ||
if (ret.Data.isOpenInternational) { | ||
self.model.set({ | ||
list: ret.Data.tenantLanguages | ||
}); | ||
} | ||
} | ||
}); | ||
} | ||
@@ -387,0 +387,0 @@ // ,autoHideRegister() { |
28
index.js
@@ -341,3 +341,3 @@ /* | ||
this.options = options; | ||
debugger; | ||
this.model.set(options. i18nInfo) | ||
@@ -372,15 +372,15 @@ this.model.set({ | ||
,onShow(){ | ||
// var self = this; | ||
// Talent.$.ajax({ | ||
// url: options.getApiUrl | ||
// }) | ||
// .done(function(ret){ | ||
// if (ret.Code === 1) { | ||
// if (ret.Data.isOpenInternational) { | ||
// self.model.set({ | ||
// list: ret.Data.tenantLanguages | ||
// }); | ||
// } | ||
// } | ||
// }); | ||
var self = this; | ||
Talent.$.ajax({ | ||
url: options.getApiUrl | ||
}) | ||
.done(function(ret){ | ||
if (ret.Code === 1) { | ||
if (ret.Data.isOpenInternational) { | ||
self.model.set({ | ||
list: ret.Data.tenantLanguages | ||
}); | ||
} | ||
} | ||
}); | ||
} | ||
@@ -387,0 +387,0 @@ // ,autoHideRegister() { |
@@ -8,3 +8,3 @@ { | ||
"configUser": "ux", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"dependencies": { | ||
@@ -27,2 +27,3 @@ "grunt": "~0.4.1", | ||
"app", | ||
"src", | ||
"index.js", | ||
@@ -29,0 +30,0 @@ "index.css", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
11431125
465
75380