cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mmocny <...@git.apache.org>
Subject [GitHub] cordova-lib pull request: CB-8595 Merge platforms.js from cordova ...
Date Wed, 11 Mar 2015 14:19:27 GMT
Github user mmocny commented on a diff in the pull request:

    https://github.com/apache/cordova-lib/pull/183#discussion_r26215219
  
    --- Diff: cordova-lib/src/plugman/uninstall.js ---
    @@ -293,58 +293,25 @@ function runUninstallPlatform(actions, platform, project_dir, plugin_dir,
plugin
     function handleUninstall(actions, platform, pluginInfo, project_dir, www_dir, plugins_dir,
is_top_level, options) {
         var plugin_id = pluginInfo.id;
         var plugin_dir = pluginInfo.dir;
    -    var platform_modules = require('./platforms');
    -    var handler = platform_modules[platform];
    -    www_dir = www_dir || handler.www_dir(project_dir);
    +    var handler = platform_modules.getPlatformProject(platform, project_dir);
    +    www_dir = www_dir || handler.www_dir();
         events.emit('log', 'Uninstalling ' + plugin_id + ' from ' + platform);
     
    +    var pluginItems = pluginInfo.getFilesAndFrameworks(platform);
         var assets = pluginInfo.getAssets(platform);
    --- End diff --
    
    Why are assets different?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@cordova.apache.org
For additional commands, e-mail: dev-help@cordova.apache.org


Mime
View raw message