diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2022-05-10 21:57:53 -0300 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2022-05-10 21:57:53 -0300 |
commit | a5232ebbd87d2222138aa6d7bd074d476cb17584 (patch) | |
tree | cea47eefaaff312f4704236b8f3567c4dc28a0ee /src/data | |
parent | a526f963e28cbad09e22822bc2bff5a3a88022d3 (diff) |
remove unused BuildDirective code
Diffstat (limited to 'src/data')
-rw-r--r-- | src/data/things.js | 13 | ||||
-rw-r--r-- | src/data/yaml.js | 9 |
2 files changed, 0 insertions, 22 deletions
diff --git a/src/data/things.js b/src/data/things.js index 97e70cde..85358305 100644 --- a/src/data/things.js +++ b/src/data/things.js @@ -90,9 +90,6 @@ export class WikiInfo extends CacheableObject {} // -> Language export class Language extends CacheableObject {} -// -> BuildDirective -export class BuildDirective extends CacheableObject {} - // Before initializing property descriptors, set additional independent // constants on the classes (which are referenced later). @@ -1638,13 +1635,3 @@ Object.assign(Language.prototype, { countTimesUsed: countHelper('timesUsed'), countTracks: countHelper('tracks'), }); - -// -> BuildDirective - -BuildDirective.propertyDescriptors = { - // Update & expose - - directive: Thing.common.directory(), - baseDirectory: Thing.common.directory(), - language: Thing.common.simpleString(), -}; diff --git a/src/data/yaml.js b/src/data/yaml.js index 7e2d824a..21b56d43 100644 --- a/src/data/yaml.js +++ b/src/data/yaml.js @@ -11,7 +11,6 @@ import { Album, Artist, ArtTag, - BuildDirective, Flash, FlashAct, Group, @@ -400,14 +399,6 @@ export const processWikiInfoDocument = makeProcessDocument(WikiInfo, { } }); -export const processBuildDirectiveDocument = makeProcessDocument(BuildDirective, { - propertyFieldMapping: { - directive: 'Directive', - baseDirectory: 'Base Directory', - language: 'Language', - } -}); - export const processHomepageLayoutDocument = makeProcessDocument(HomepageLayout, { propertyFieldMapping: { sidebarContent: 'Sidebar Content' |