We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4055aea + 1f9fc31 commit 626c8bcCopy full SHA for 626c8bc
src/generators/QuasarGenerator.js
@@ -233,7 +233,7 @@ export const store = new Vuex.Store({
233
var stack =
234
handlebars.__switch_stack__[handlebars.__switch_stack__.length - 1];
235
236
- if (stack.switch_match || caseValues.indexOf(stack.switch_value) === -1) {
+ if (stack.switch_match || caseValues.includes(stack.switch_value)) {
237
return "";
238
} else {
239
stack.switch_match = true;
@@ -302,7 +302,7 @@ export const store = new Vuex.Store({
302
console.log(
303
JSON.stringify(obj, function(key, value) {
304
if (typeof value === "object" && value !== null) {
305
- if (cache.indexOf(value) !== -1) {
+ if (cache.includes(value)) {
306
// Duplicate reference found, discard key
307
return;
308
}
0 commit comments