Skip to content

Commit 61bf4aa

Browse files
committed
Add uninstall to install.
1 parent ff8e039 commit 61bf4aa

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

index.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3111,6 +3111,8 @@ Framework.prototype.install = function(type, name, declaration, options, callbac
31113111
if (!name && internal)
31123112
name = U.getName(internal).replace(/\.html/gi, '').trim();
31133113

3114+
F.uninstall(type, name);
3115+
31143116
var hash = '\n/*' + name.hash() + '*/\n';
31153117
var temporary = (F.id ? 'i-' + F.id + '_' : '') + 'components';
31163118
content = parseComponent(internal ? declaration : Fs.readFileSync(declaration).toString(ENCODING), name);

0 commit comments

Comments
 (0)