Added jshint ignore blog for ubuntu.js
Project: http://git-wip-us.apache.org/repos/asf/cordova-lib/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-lib/commit/531b9913 Tree: http://git-wip-us.apache.org/repos/asf/cordova-lib/tree/531b9913 Diff: http://git-wip-us.apache.org/repos/asf/cordova-lib/diff/531b9913 Branch: refs/heads/master Commit: 531b9913ecd078039ee6bb24a519dcd33c9bdc32 Parents: 48dc542 Author: Steve Gill <[email protected]> Authored: Tue Nov 24 18:07:22 2015 -0800 Committer: Steve Gill <[email protected]> Committed: Tue Nov 24 18:07:22 2015 -0800 ---------------------------------------------------------------------- cordova-lib/src/plugman/platforms/ubuntu.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cordova-lib/blob/531b9913/cordova-lib/src/plugman/platforms/ubuntu.js ---------------------------------------------------------------------- diff --git a/cordova-lib/src/plugman/platforms/ubuntu.js b/cordova-lib/src/plugman/platforms/ubuntu.js index 7064a6f..3efdabf 100644 --- a/cordova-lib/src/plugman/platforms/ubuntu.js +++ b/cordova-lib/src/plugman/platforms/ubuntu.js @@ -47,7 +47,7 @@ function getPluginXml(plugin_dir) { function findClassName(pluginxml, plugin_id) { var class_name; - + /* jshint ignore:start */ // first check if we have a class-name parameter in the plugin config if (pluginxml) { var platform = pluginxml.find("./platform/[@name='ubuntu']/"); @@ -59,7 +59,7 @@ function findClassName(pluginxml, plugin_id) { } } } - + /* jshint ignore:end */ // fallback to guess work, based on the plugin package name if (plugin_id.match(/\.[^.]+$/)) { --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
