-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
434 changed files
with
131,940 additions
and
470 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,298 @@ | ||
// { "framework": "Vue" } | ||
"use weex:vue"; | ||
|
||
/******/ | ||
(function(modules) { // webpackBootstrap | ||
/******/ // The module cache | ||
/******/ | ||
var installedModules = {}; | ||
/******/ | ||
/******/ // The require function | ||
/******/ | ||
function __webpack_require__(moduleId) { | ||
/******/ | ||
/******/ // Check if module is in cache | ||
/******/ | ||
if (installedModules[moduleId]) { | ||
/******/ | ||
return installedModules[moduleId].exports; | ||
/******/ | ||
} | ||
/******/ // Create a new module (and put it into the cache) | ||
/******/ | ||
var module = installedModules[moduleId] = { | ||
/******/ | ||
i: moduleId, | ||
/******/ | ||
l: false, | ||
/******/ | ||
exports: {} | ||
/******/ | ||
}; | ||
/******/ | ||
/******/ // Execute the module function | ||
/******/ | ||
modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); | ||
/******/ | ||
/******/ // Flag the module as loaded | ||
/******/ | ||
module.l = true; | ||
/******/ | ||
/******/ // Return the exports of the module | ||
/******/ | ||
return module.exports; | ||
/******/ | ||
} | ||
/******/ | ||
/******/ | ||
/******/ // expose the modules object (__webpack_modules__) | ||
/******/ | ||
__webpack_require__.m = modules; | ||
/******/ | ||
/******/ // expose the module cache | ||
/******/ | ||
__webpack_require__.c = installedModules; | ||
/******/ | ||
/******/ // define getter function for harmony exports | ||
/******/ | ||
__webpack_require__.d = function(exports, name, getter) { | ||
/******/ | ||
if (!__webpack_require__.o(exports, name)) { | ||
/******/ | ||
Object.defineProperty(exports, name, { | ||
/******/ | ||
configurable: false, | ||
/******/ | ||
enumerable: true, | ||
/******/ | ||
get: getter | ||
/******/ | ||
}); | ||
/******/ | ||
} | ||
/******/ | ||
}; | ||
/******/ | ||
/******/ // getDefaultExport function for compatibility with non-harmony modules | ||
/******/ | ||
__webpack_require__.n = function(module) { | ||
/******/ | ||
var getter = module && module.__esModule ? | ||
/******/ | ||
function getDefault() { | ||
return module['default']; | ||
} : | ||
/******/ | ||
function getModuleExports() { | ||
return module; | ||
}; | ||
/******/ | ||
__webpack_require__.d(getter, 'a', getter); | ||
/******/ | ||
return getter; | ||
/******/ | ||
}; | ||
/******/ | ||
/******/ // Object.prototype.hasOwnProperty.call | ||
/******/ | ||
__webpack_require__.o = function(object, property) { | ||
return Object.prototype.hasOwnProperty.call(object, property); | ||
}; | ||
/******/ | ||
/******/ // __webpack_public_path__ | ||
/******/ | ||
__webpack_require__.p = ""; | ||
/******/ | ||
/******/ // Load entry module and return exports | ||
/******/ | ||
return __webpack_require__(__webpack_require__.s = 0); | ||
/******/ | ||
}) | ||
/************************************************************************/ | ||
/******/ | ||
([ | ||
/* 0 */ | ||
/***/ | ||
(function(module, exports, __webpack_require__) { | ||
|
||
"use strict"; | ||
|
||
|
||
var _App = __webpack_require__(1); | ||
|
||
var _App2 = _interopRequireDefault(_App); | ||
|
||
function _interopRequireDefault(obj) { | ||
return obj && obj.__esModule ? obj : { | ||
default: obj | ||
}; | ||
} | ||
|
||
_App2.default.el = '#root'; | ||
new Vue(_App2.default); | ||
|
||
/***/ | ||
}), | ||
/* 1 */ | ||
/***/ | ||
(function(module, exports, __webpack_require__) { | ||
|
||
var __vue_exports__, __vue_options__ | ||
var __vue_styles__ = [] | ||
|
||
/* styles */ | ||
__vue_styles__.push(__webpack_require__(2)) | ||
|
||
/* script */ | ||
__vue_exports__ = __webpack_require__(3) | ||
|
||
/* template */ | ||
var __vue_template__ = __webpack_require__(4) | ||
__vue_options__ = __vue_exports__ = __vue_exports__ || {} | ||
if ( | ||
typeof __vue_exports__.default === "object" || | ||
typeof __vue_exports__.default === "function" | ||
) { | ||
if (Object.keys(__vue_exports__).some(function(key) { | ||
return key !== "default" && key !== "__esModule" | ||
})) { | ||
console.error("named exports are not supported in *.vue files.") | ||
} | ||
__vue_options__ = __vue_exports__ = __vue_exports__.default | ||
} | ||
if (typeof __vue_options__ === "function") { | ||
__vue_options__ = __vue_options__.options | ||
} | ||
__vue_options__.__file = "/usr/src/app/raw/072b3765e21f00b469b67c324c6e3dde/App.vue" | ||
__vue_options__.render = __vue_template__.render | ||
__vue_options__.staticRenderFns = __vue_template__.staticRenderFns | ||
__vue_options__._scopeId = "data-v-f7ea0eb2" | ||
__vue_options__.style = __vue_options__.style || {} | ||
__vue_styles__.forEach(function(module) { | ||
for (var name in module) { | ||
__vue_options__.style[name] = module[name] | ||
} | ||
}) | ||
if (typeof __register_static_styles__ === "function") { | ||
__register_static_styles__(__vue_options__._scopeId, __vue_styles__) | ||
} | ||
|
||
module.exports = __vue_exports__ | ||
|
||
|
||
/***/ | ||
}), | ||
/* 2 */ | ||
/***/ | ||
(function(module, exports) { | ||
|
||
module.exports = { | ||
"video": { | ||
"width": "630", | ||
"height": "350", | ||
"marginTop": "60", | ||
"marginLeft": "60", | ||
"backgroundColor":"red" | ||
}, | ||
"info": { | ||
"marginTop": "40", | ||
"fontSize": "40", | ||
"textAlign": "center" | ||
} | ||
} | ||
|
||
/***/ | ||
}), | ||
/* 3 */ | ||
/***/ | ||
(function(module, exports, __webpack_require__) { | ||
|
||
"use strict"; | ||
|
||
|
||
Object.defineProperty(exports, "__esModule", { | ||
value: true | ||
}); | ||
// | ||
// | ||
// | ||
// | ||
// | ||
// | ||
// | ||
// | ||
// | ||
// | ||
// | ||
// | ||
// | ||
// | ||
// | ||
// | ||
// | ||
// | ||
// | ||
// | ||
// | ||
// | ||
|
||
exports.default = { | ||
data: function data() { | ||
return { | ||
state: '----', | ||
src: 'http://flv2.bn.netease.com/videolib3/1611/01/XGqSL5981/SD/XGqSL5981-mobile.mp4' | ||
}; | ||
}, | ||
|
||
methods: { | ||
onstart: function onstart(event) { | ||
this.state = 'onstart'; | ||
}, | ||
onpause: function onpause(event) { | ||
this.state = 'onpause'; | ||
}, | ||
onfinish: function onfinish(event) { | ||
this.state = 'onfinish'; | ||
}, | ||
onfail: function onfail(event) { | ||
this.state = 'onfinish'; | ||
} | ||
} | ||
}; | ||
|
||
/***/ | ||
}), | ||
/* 4 */ | ||
/***/ | ||
(function(module, exports) { | ||
|
||
module.exports = { | ||
render: function() { | ||
var _vm = this; | ||
var _h = _vm.$createElement; | ||
var _c = _vm._self._c || _h; | ||
return _c('div', [_c('videoplus', { | ||
staticClass: ["video"], | ||
attrs: { | ||
"src": _vm.src, | ||
"autoplay": "", | ||
"controls": "" | ||
}, | ||
on: { | ||
"start": _vm.onstart, | ||
"pause": _vm.onpause, | ||
"finish": _vm.onfinish, | ||
"fail": _vm.onfail | ||
} | ||
}), _c('text', { | ||
staticClass: ["info"] | ||
}, [_vm._v("state: " + _vm._s(_vm.state))])], 1) | ||
}, | ||
staticRenderFns: [] | ||
} | ||
module.exports.render._withStripped = true | ||
|
||
/***/ | ||
}) | ||
/******/ | ||
]); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.