Skip to content

Commit

Permalink
* [example] refactor example structure
Browse files Browse the repository at this point in the history
  • Loading branch information
luics committed May 12, 2016
1 parent adf4672 commit 704e215
Show file tree
Hide file tree
Showing 80 changed files with 1,791 additions and 506 deletions.
1,678 changes: 1,678 additions & 0 deletions android/playground/app/src/main/assets/archive/todomvc.js

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
/***/ function(module, exports, __webpack_require__) {

;__weex_define__("@weex-component/559cd2049da887ae8989e25df99c5cab", [], function(__weex_require__, __weex_exports__, __weex_module__){
__webpack_require__(28);
__webpack_require__(15);

;
__webpack_require__(1);
Expand Down Expand Up @@ -1656,24 +1656,11 @@
/***/ },
/* 13 */,
/* 14 */,
/* 15 */,
/* 16 */,
/* 17 */,
/* 18 */,
/* 19 */,
/* 20 */,
/* 21 */,
/* 22 */,
/* 23 */,
/* 24 */,
/* 25 */,
/* 26 */,
/* 27 */,
/* 28 */
/* 15 */
/***/ function(module, exports, __webpack_require__) {

;__weex_define__("@weex-component/slider-page", [], function(__weex_require__, __weex_exports__, __weex_module__){
__webpack_require__(29);
__webpack_require__(16);

;
__weex_module__.exports = {
Expand Down Expand Up @@ -1716,7 +1703,7 @@
})

/***/ },
/* 29 */
/* 16 */
/***/ function(module, exports) {

;__weex_define__("@weex-component/slider-item", [], function(__weex_require__, __weex_exports__, __weex_module__){
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
/***/ function(module, exports, __webpack_require__) {

;__weex_define__("@weex-component/5ad7a924dc9da8e1fdbbc4b0828fdb93", [], function(__weex_require__, __weex_exports__, __weex_module__){
__webpack_require__(29);
__webpack_require__(16);

;
__weex_module__.exports = {
Expand Down Expand Up @@ -93,7 +93,7 @@

/***/ },

/***/ 29:
/***/ 16:
/***/ function(module, exports) {

;__weex_define__("@weex-component/slider-item", [], function(__weex_require__, __weex_exports__, __weex_module__){
Expand Down
66 changes: 0 additions & 66 deletions android/playground/app/src/main/assets/form.js

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
/***/ function(module, exports, __webpack_require__) {

;__weex_define__("@weex-component/5ae382379e66fef0c7344f4ff2c8db10", [], function(__weex_require__, __weex_exports__, __weex_module__){
__webpack_require__(15);
__webpack_require__(17);

;
__webpack_require__(1);
Expand Down Expand Up @@ -1243,7 +1243,9 @@
/***/ },
/* 13 */,
/* 14 */,
/* 15 */
/* 15 */,
/* 16 */,
/* 17 */
/***/ function(module, exports, __webpack_require__) {

;__weex_define__("@weex-component/example-list-item", [], function(__weex_require__, __weex_exports__, __weex_module__){
Expand Down
50 changes: 27 additions & 23 deletions android/playground/app/src/main/assets/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,33 +44,36 @@
/* 0 */
/***/ function(module, exports, __webpack_require__) {

;__weex_define__("@weex-component/bb4c39d60d7b3d1ff0a7b351afd011ed", [], function(__weex_require__, __weex_exports__, __weex_module__){
__webpack_require__(16);
;__weex_define__("@weex-component/114e64ff480be8fdcfbd6fd445bcb06e", [], function(__weex_require__, __weex_exports__, __weex_module__){

;
__webpack_require__(18);
__weex_module__.exports = {
data: function () {return {
items: [
// `name` key is the example filename without '.we'
// Support sub directory, e.g. 'new-fashion/index'
{name: 'hello', title: 'Hello World'},
{name: 'image-demo', title: 'Image'},
{name: 'text-demo', title: 'Text'},
{name: 'style', title: 'Common Style'},
{name: 'hyperlink',title:'A'},
{name: 'list-basic', title: 'List (Basic)'},
{name: 'list-demo', title: 'List (Advanced)'},
{name: 'slider-demo', title: 'Slider'},
{name: 'style/index', title: 'Common Style'},
{name: 'animation', title: 'Animation'},
{name: 'instance-api', title: 'Instance API'},
{name: 'modal', title: 'Modal'},
{name: 'stream-demo', title: 'Stream'},
{name: 'video-demo', title: 'Video'},
{name: 'countdown-demo', title: 'Countdown'},
{name: 'marquee-demo', title: 'Marquee'},
{name: 'ui', title: 'UI Gallery'},
{name: 'new-fashion/index', title: 'Activity'},
{name: 'calculator', title: 'Calculator'}
// component
{name: 'component/text-demo', title: 'Text'},
{name: 'component/image-demo', title: 'Image'},
{name: 'component/list/list-basic', title: 'List (Basic)'},
{name: 'component/list/list-demo', title: 'List (Advanced)'},
{name: 'component/slider/index', title: 'Slider'},
{name: 'component/hyperlink',title:'A'},
{name: 'component/video-demo', title: 'Video'},
{name: 'component/countdown-demo', title: 'Countdown'},
{name: 'component/marquee-demo', title: 'Marquee'},
// module
{name: 'module/instance-api', title: 'Instance API'},
{name: 'module/modal', title: 'Modal'},
{name: 'module/stream-demo', title: 'Stream'},
// showcase
{name: 'showcase/new-fashion/index', title: 'Activity'},
{name: 'showcase/calculator', title: 'Calculator'},
{name: 'showcase/ui', title: 'UI Gallery'}
]
}}
}
Expand All @@ -82,9 +85,8 @@
"dir": "examples"
}
}
;__weex_module__.exports.style={}
})
;__weex_bootstrap__("@weex-component/bb4c39d60d7b3d1ff0a7b351afd011ed", {
;__weex_bootstrap__("@weex-component/114e64ff480be8fdcfbd6fd445bcb06e", {
"transformerVersion": "0.3.1"
},undefined)

Expand Down Expand Up @@ -1209,7 +1211,9 @@
/***/ },
/* 13 */,
/* 14 */,
/* 15 */
/* 15 */,
/* 16 */,
/* 17 */
/***/ function(module, exports, __webpack_require__) {

;__weex_define__("@weex-component/example-list-item", [], function(__weex_require__, __weex_exports__, __weex_module__){
Expand Down Expand Up @@ -1254,11 +1258,11 @@
})

/***/ },
/* 16 */
/* 18 */
/***/ function(module, exports, __webpack_require__) {

;__weex_define__("@weex-component/example-list", [], function(__weex_require__, __weex_exports__, __weex_module__){
__webpack_require__(15);
__webpack_require__(17);

;
__webpack_require__(1);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
/***/ function(module, exports, __webpack_require__) {

;__weex_define__("@weex-component/b7cd3d95d7e22a543af40cfb7441e8c6", [], function(__weex_require__, __weex_exports__, __weex_module__){
__webpack_require__(17);
__webpack_require__(19);

;
__weex_module__.exports = {
Expand Down Expand Up @@ -139,7 +139,7 @@

/***/ },

/***/ 17:
/***/ 19:
/***/ function(module, exports) {

;__weex_define__("@weex-component/banner", [], function(__weex_require__, __weex_exports__, __weex_module__){
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
/***/ function(module, exports, __webpack_require__) {

;__weex_define__("@weex-component/c913f50614100cbae8ac0e99f5f32376", [], function(__weex_require__, __weex_exports__, __weex_module__){
__webpack_require__(18);
__webpack_require__(20);

;
__weex_module__.exports = {
Expand Down Expand Up @@ -135,7 +135,7 @@

/***/ },

/***/ 17:
/***/ 19:
/***/ function(module, exports) {

;__weex_define__("@weex-component/banner", [], function(__weex_require__, __weex_exports__, __weex_module__){
Expand Down Expand Up @@ -181,11 +181,11 @@

/***/ },

/***/ 18:
/***/ 20:
/***/ function(module, exports, __webpack_require__) {

;__weex_define__("@weex-component/banners", [], function(__weex_require__, __weex_exports__, __weex_module__){
__webpack_require__(17);
__webpack_require__(19);

;
__weex_module__.exports = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
/***/ function(module, exports, __webpack_require__) {

;__weex_define__("@weex-component/5431263137f2dd27df2998658c228e48", [], function(__weex_require__, __weex_exports__, __weex_module__){
__webpack_require__(17);
__webpack_require__(19);

;
__weex_module__.exports = {
Expand Down Expand Up @@ -701,7 +701,7 @@

/***/ },

/***/ 17:
/***/ 19:
/***/ function(module, exports) {

;__weex_define__("@weex-component/banner", [], function(__weex_require__, __weex_exports__, __weex_module__){
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@
/***/ function(module, exports, __webpack_require__) {

;__weex_define__("@weex-component/29432e9104bfbc477db30914749dfb5b", [], function(__weex_require__, __weex_exports__, __weex_module__){
__webpack_require__(17);
__webpack_require__(18);
__webpack_require__(19);
__webpack_require__(20);

;
__weex_module__.exports = {
Expand Down Expand Up @@ -137,7 +137,7 @@

/***/ },

/***/ 17:
/***/ 19:
/***/ function(module, exports) {

;__weex_define__("@weex-component/banner", [], function(__weex_require__, __weex_exports__, __weex_module__){
Expand Down Expand Up @@ -183,11 +183,11 @@

/***/ },

/***/ 18:
/***/ 20:
/***/ function(module, exports, __webpack_require__) {

;__weex_define__("@weex-component/banners", [], function(__weex_require__, __weex_exports__, __weex_module__){
__webpack_require__(17);
__webpack_require__(19);

;
__weex_module__.exports = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
/***/ function(module, exports, __webpack_require__) {

;__weex_define__("@weex-component/288f1d10e56a339d2751caec3346b80a", [], function(__weex_require__, __weex_exports__, __weex_module__){
__webpack_require__(17);
__webpack_require__(19);

;
__weex_module__.exports = {
Expand Down Expand Up @@ -216,7 +216,7 @@

/***/ },

/***/ 17:
/***/ 19:
/***/ function(module, exports) {

;__weex_define__("@weex-component/banner", [], function(__weex_require__, __weex_exports__, __weex_module__){
Expand Down
Loading

0 comments on commit 704e215

Please sign in to comment.