Skip to content

Commit ea08652

Browse files
author
Joseph Smith
committed
Updated tests to use package
1 parent 1c5ca26 commit ea08652

File tree

2 files changed

+13
-13
lines changed

2 files changed

+13
-13
lines changed

Examples/assets/js/app.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
*/
66
require('./bootstrap');
77

8-
//import VueLoop from 'vue-loop';
9-
import VueLoop from './test/VueLoop';
8+
import VueLoop from 'vue-loop';
9+
//import VueLoop from './test/VueLoop';
1010

1111
new Vue({
1212
el: '#app',

Examples/public/js/app.js

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -785,24 +785,24 @@ module.exports = function bind(fn, thisArg) {
785785

786786
"use strict";
787787
Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
788-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__test_VueLoop__ = __webpack_require__(38);
789-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__test_VueLoop___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0__test_VueLoop__);
788+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_vue_loop__ = __webpack_require__(38);
789+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_vue_loop___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_vue_loop__);
790790
/**
791791
* First we will load all of this project's JavaScript dependencies which
792792
* includes Vue and other libraries. It is a great starting point when
793793
* building robust, powerful web applications using Vue.
794794
*/
795795
__webpack_require__(28);
796796

797-
//import VueLoop from 'vue-loop';
798797

798+
//import VueLoop from './test/VueLoop';
799799

800800
new Vue({
801801
el: '#app',
802802

803803
//Import the loop container
804804
components: {
805-
VueLoop: __WEBPACK_IMPORTED_MODULE_0__test_VueLoop___default.a
805+
VueLoop: __WEBPACK_IMPORTED_MODULE_0_vue_loop___default.a
806806
}
807807
});
808808

@@ -21172,7 +21172,7 @@ var Component = __webpack_require__(39)(
2117221172
/* cssModules */
2117321173
null
2117421174
)
21175-
Component.options.__file = "/Users/josephsmith/Sites/vue-content-loop/Examples/assets/js/test/VueLoop.vue"
21175+
Component.options.__file = "/Users/josephsmith/Sites/vue-content-loop/Examples/node_modules/vue-loop/VueLoop.vue"
2117621176
if (Component.esModule && Object.keys(Component.esModule).some(function (key) {return key !== "default" && key !== "__esModule"})) {console.error("named exports are not supported in *.vue files.")}
2117721177
if (Component.options.functional) {console.error("[vue-loader] VueLoop.vue: functional components are not supported with templates, they should use render functions.")}
2117821178

@@ -21183,9 +21183,9 @@ if (false) {(function () {
2118321183
if (!hotAPI.compatible) return
2118421184
module.hot.accept()
2118521185
if (!module.hot.data) {
21186-
hotAPI.createRecord("data-v-83ac3422", Component.options)
21186+
hotAPI.createRecord("data-v-0b93c833", Component.options)
2118721187
} else {
21188-
hotAPI.reload("data-v-83ac3422", Component.options)
21188+
hotAPI.reload("data-v-0b93c833", Component.options)
2118921189
}
2119021190
})()}
2119121191

@@ -21268,7 +21268,7 @@ module.exports.render._withStripped = true
2126821268
if (false) {
2126921269
module.hot.accept()
2127021270
if (module.hot.data) {
21271-
require("vue-hot-reload-api").rerender("data-v-83ac3422", module.exports)
21271+
require("vue-hot-reload-api").rerender("data-v-0b93c833", module.exports)
2127221272
}
2127321273
}
2127421274

@@ -21283,13 +21283,13 @@ var content = __webpack_require__(33);
2128321283
if(typeof content === 'string') content = [[module.i, content, '']];
2128421284
if(content.locals) module.exports = content.locals;
2128521285
// add the styles to the DOM
21286-
var update = __webpack_require__(42)("13af793f", content, false);
21286+
var update = __webpack_require__(42)("fda16132", content, false);
2128721287
// Hot Module Replacement
2128821288
if(false) {
2128921289
// When the styles change, update the <style> tags
2129021290
if(!content.locals) {
21291-
module.hot.accept("!!../../../node_modules/css-loader/index.js!../../../node_modules/vue-loader/lib/style-compiler/index.js?{\"id\":\"data-v-83ac3422\",\"scoped\":false,\"hasInlineConfig\":true}!../../../node_modules/vue-loader/lib/selector.js?type=styles&index=0!./VueLoop.vue", function() {
21292-
var newContent = require("!!../../../node_modules/css-loader/index.js!../../../node_modules/vue-loader/lib/style-compiler/index.js?{\"id\":\"data-v-83ac3422\",\"scoped\":false,\"hasInlineConfig\":true}!../../../node_modules/vue-loader/lib/selector.js?type=styles&index=0!./VueLoop.vue");
21291+
module.hot.accept("!!../css-loader/index.js!../vue-loader/lib/style-compiler/index.js?{\"id\":\"data-v-0b93c833\",\"scoped\":false,\"hasInlineConfig\":true}!../vue-loader/lib/selector.js?type=styles&index=0!./VueLoop.vue", function() {
21292+
var newContent = require("!!../css-loader/index.js!../vue-loader/lib/style-compiler/index.js?{\"id\":\"data-v-0b93c833\",\"scoped\":false,\"hasInlineConfig\":true}!../vue-loader/lib/selector.js?type=styles&index=0!./VueLoop.vue");
2129321293
if(typeof newContent === 'string') newContent = [[module.id, newContent, '']];
2129421294
update(newContent);
2129521295
});

0 commit comments

Comments
 (0)