correct typo in the gulp file and references to it in the config vue component: idenitifer -> identifier fixes #9
This commit is contained in:
parent
c4e524a69f
commit
5a2563023a
3 changed files with 5 additions and 5 deletions
|
@ -43,10 +43,10 @@
|
||||||
</span>
|
</span>
|
||||||
|
|
||||||
<input type="checkbox"
|
<input type="checkbox"
|
||||||
:value="standard.info.idenitifer"
|
:value="standard.info.identifier"
|
||||||
v-model="selectedStandards"
|
v-model="selectedStandards"
|
||||||
@change="onStandardChecked">
|
@change="onStandardChecked">
|
||||||
{{ standard.info.idenitifer }}
|
{{ standard.info.identifier }}
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
@ -67,7 +67,7 @@
|
||||||
},
|
},
|
||||||
onAllClicked: function () {
|
onAllClicked: function () {
|
||||||
const allStandards = Object.keys(this.standards)
|
const allStandards = Object.keys(this.standards)
|
||||||
.map(aStdName => this.standards[aStdName].info.idenitifer);
|
.map(aStdName => this.standards[aStdName].info.identifier);
|
||||||
this.$root.$data.setSelectedStandards(allStandards);
|
this.$root.$data.setSelectedStandards(allStandards);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -28,7 +28,7 @@ gulp.task('default', function () {
|
||||||
const standardContents = JSON.parse(fileContents);
|
const standardContents = JSON.parse(fileContents);
|
||||||
const nameParts = [standardContents.info.name, standardContents.info.subsection_name].filter(part => !!part);
|
const nameParts = [standardContents.info.name, standardContents.info.subsection_name].filter(part => !!part);
|
||||||
const standardIdenitifer = nameParts.join(": ").trim();
|
const standardIdenitifer = nameParts.join(": ").trim();
|
||||||
standardContents.info.idenitifer = standardIdenitifer;
|
standardContents.info.identifier = standardIdenitifer;
|
||||||
prev[standardIdenitifer] = standardContents;
|
prev[standardIdenitifer] = standardContents;
|
||||||
return prev;
|
return prev;
|
||||||
}, {});
|
}, {});
|
||||||
|
|
Loading…
Reference in a new issue