Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix #1943. Calls to Y.log in PluginHost are missing filter information. #1944

Merged
merged 1 commit into from
Aug 18, 2014
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/pluginhost/js/PluginHost.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,14 +81,14 @@
if (this[ns].setAttrs) {
this[ns].setAttrs(config);
}
else { Y.log("Attempt to replug an already attached plugin, and we can't setAttrs, because it's not Attribute based: " + ns); }
else { Y.log("Attempt to replug an already attached plugin, and we can't setAttrs, because it's not Attribute based: " + ns, 'warn', 'PluginHost'); }
} else {
// Create new instance
this[ns] = new Plugin(config);
this._plugins[ns] = Plugin;
}
}
else { Y.log("Attempt to plug in an invalid plugin. Host:" + this + ", Plugin:" + Plugin); }
else { Y.log("Attempt to plug in an invalid plugin. Host:" + this + ", Plugin:" + Plugin, 'error', 'PluginHost'); }
}
return this;
},
Expand Down