Merge pull request #128 from katsgeorgeek/topics/fix_css Add check of properties noCSS, noJS at meta.
diff --git a/components.js b/components.js
index ec7aca7..51a2bf5 100644
--- a/components.js
+++ b/components.js
@@ -38,7 +38,8 @@ var components = {
},
languages: {
meta: {
- path: 'components/prism-{id}'
+ path: 'components/prism-{id}',
+ noCSS: true
},
'markup': {
title: 'Markup',
diff --git a/download.js b/download.js
index 6308e71..c1006da 100644
--- a/download.js
+++ b/download.js
@@ -40,8 +40,8 @@ for (var category in components) {
var info = all[id] = {
title: all[id].title || all[id],
- noCSS: all[id].noCSS || true,
- noJS: all[id].noJS,
+ noCSS: all[id].noCSS || all.meta.noCSS,
+ noJS: all[id].noJS || all.meta.noJS,
enabled: checked,
require: all[id].require,
files: {