Skip to content

Commit

Permalink
Implements changes. Adds uninstall to api.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Bubblyworld committed Dec 18, 2014
1 parent 5d91189 commit 690c3ea
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions api.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,16 @@ API.install = function(name, target, options) {
return install.install.apply(install, arguments);
}

/* Uninstalls a library in the current folder.
* returns a promise
*
* jspm.uninstall('jquery')
* jspm.uninstall(['jquery', 'handlebars'])
*
*/
API.uninstall = function(names) {
return install.uninstall.apply(install, arguments);
}

API.import = function(moduleName, parentName) {
return API.configureLoader()
Expand Down

0 comments on commit 690c3ea

Please sign in to comment.