wiki.techinc.nl/tests/phpunit/data/resourceloader/vue-component-output-nondebug.js.txt
Ed Sanders 9fe2995989 build: Update eslint-config-wikimedia to 0.21.0
* Replace `substr`/`substring` with `slice`. The second argument
  to `substring` is length, not end index as in `substr`/`slice`,
  so convert where necessary.
* Replace `new Date().getTime()` with `Date.now()`
* Documentation fixes
* Replace `throw Error` with `throw new Error`

Change-Id: I532500ea4c99d8ebec01efb21273c8df21626e59
2021-11-09 21:08:55 +00:00

9 lines
240 B
Text

// @vue/component
module.exports = {
data: function () {
return {
hello: 'world'
};
}
};;
module.exports.template = "<div class=\"mw-vue-test\"><p>Hello\\n<\/p> <p>{{ hello }}<\/p> <pre>\t\t\tfoo\\\n\t\t\tbar\n\t\t<\/pre><\/div>";