Skip to content
This repository has been archived by the owner. It is now read-only.

Commit e1eb3e4

Browse files
committed
Fixed issue where I deleted the arrays from the generator file.
1 parent be644a6 commit e1eb3e4

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

_generator.js

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,37 @@ generator.applyToOutputNode = function(outputFolderNode, inputFolderNode) {
7676
}
7777
};
7878

79+
// An array of templates that get the Popper.js script.
80+
var includePopper = [
81+
'starter',
82+
'jumbotron',
83+
'album',
84+
'pricing',
85+
'checkout',
86+
'product',
87+
'cover',
88+
'carousel',
89+
'blog',
90+
'dashboard'
91+
];
92+
93+
// An array of templates that get the Holder script.
94+
var includeHolder = [
95+
'album',
96+
'pricing',
97+
'checkout',
98+
'product',
99+
'carousel',
100+
'blog'
101+
];
102+
103+
// An array of templates that are excluded from getting jQuery and
104+
// Bootstrap scripts.
105+
var excludeScripts = [
106+
'grid',
107+
'signin'
108+
];
109+
79110
// Add jQuery and Bootstrap to templates that are not in the excludeScripts
80111
// array.
81112
if (!excludeScripts.includes(config.base)) {

0 commit comments

Comments
 (0)