Skip to content

Commit

Permalink
update dist
Browse files Browse the repository at this point in the history
  • Loading branch information
hex-ci committed Mar 26, 2015
1 parent 4b2d7b1 commit c7383b8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions dist/transformers.js
Original file line number Diff line number Diff line change
Expand Up @@ -1145,7 +1145,7 @@ mix(TF.Library.ComponentLoader.prototype, {
appName = TF.Helper.Utility.getApplicationName(fullName);
name = TF.Helper.Utility.getComponentName(fullName);

var isLoad = (typeof TF.Component[appName][name] != 'undefined');
var isLoad = (typeof TF.Component[appName][name] !== 'undefined');

if (isLoad) {
// 组件类已加载
Expand All @@ -1164,7 +1164,7 @@ mix(TF.Library.ComponentLoader.prototype, {
else {
// 组件类未加载
$.getScript(TF.Helper.Utility.getComponentJsUrl(appName, name), function(){
if (typeof TF.Component[appName][name] != 'undefined') {
if (typeof TF.Component[appName][name] !== 'undefined') {
// 加载成功
mentor = TF.Component[appName][name].prototype.Mentor;
if (mentor && mentor.name) {
Expand Down Expand Up @@ -1606,7 +1606,7 @@ var componentSys = {
TF.Helper.Utility.getComponentViewUrl(TF.Helper.Utility.getApplicationName(this.viewName),
TF.Helper.Utility.getComponentName(this.viewName)) : TF.Helper.Utility.getComponentViewUrl(this.appName, this.name));
}
else if (this.options.url.indexOf("http:/"+"/") < 0) {
else if (this.options.url.indexOf("http://") < 0) {
this.options.url = TF.Helper.Utility.siteUrl(this.appName, this.options.url);
}

Expand Down
Loading

0 comments on commit c7383b8

Please sign in to comment.