* 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
9 lines
240 B
Text
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>";
|