-
Notifications
You must be signed in to change notification settings - Fork 3.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
18 changed files
with
43 additions
and
102 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
10 changes: 3 additions & 7 deletions
10
packages/cli/test/core/fixtures/template/assert/v-on/0-0.tap.js
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 |
---|---|---|
@@ -1,13 +1,9 @@ | ||
function proxy () { | ||
var vm = this; | ||
var $wx = arguments[arguments.length - 1].$wx; | ||
var $event = ($wx.detail && $wx.detail.arguments) ? $wx.detail.arguments[0] : arguments[arguments.length - 1]; | ||
var $event = ($wx.detail && $wx.detail.arguments) ? $wx.detail.arguments[0] : arguments[arguments.length -1]; | ||
var $args = $wx.detail && $wx.detail.arguments; | ||
if ($wx.detail && $wx.detail.arguments) { | ||
$wx.detail = $wx.detail.arguments.length > 1 ? $wx.detail.arguments : $wx.detail.arguments[0]; | ||
} | ||
var _vm = this; | ||
var _vm=this; | ||
return (function () { | ||
_vm.myclick.apply(vm, $args || [$event]); | ||
_vm.myclick.apply(_vm, $args || [$event]); | ||
})(); | ||
} |
10 changes: 3 additions & 7 deletions
10
packages/cli/test/core/fixtures/template/assert/v-on/0-1.tap.js
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 |
---|---|---|
@@ -1,13 +1,9 @@ | ||
function proxy () { | ||
var vm = this; | ||
var $wx = arguments[arguments.length - 1].$wx; | ||
var $event = ($wx.detail && $wx.detail.arguments) ? $wx.detail.arguments[0] : arguments[arguments.length - 1]; | ||
var $event = ($wx.detail && $wx.detail.arguments) ? $wx.detail.arguments[0] : arguments[arguments.length -1]; | ||
var $args = $wx.detail && $wx.detail.arguments; | ||
if ($wx.detail && $wx.detail.arguments) { | ||
$wx.detail = $wx.detail.arguments.length > 1 ? $wx.detail.arguments : $wx.detail.arguments[0]; | ||
} | ||
var _vm = this; | ||
var _vm=this; | ||
return (function () { | ||
_vm.myclickStop.apply(vm, $args || [$event]); | ||
_vm.myclickStop.apply(_vm, $args || [$event]); | ||
})(); | ||
} |
4 changes: 0 additions & 4 deletions
4
packages/cli/test/core/fixtures/template/assert/v-on/0-10.tap.js
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
4 changes: 0 additions & 4 deletions
4
packages/cli/test/core/fixtures/template/assert/v-on/0-11.tap.js
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
4 changes: 0 additions & 4 deletions
4
packages/cli/test/core/fixtures/template/assert/v-on/0-12.tap.js
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
4 changes: 0 additions & 4 deletions
4
packages/cli/test/core/fixtures/template/assert/v-on/0-13.tap.js
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
1 change: 0 additions & 1 deletion
1
packages/cli/test/core/fixtures/template/assert/v-on/0-14.tap.js
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 |
---|---|---|
@@ -1,5 +1,4 @@ | ||
function proxy () { | ||
var vm = this; | ||
var _vm = this; | ||
return (function () { | ||
_vm.myclick(); | ||
|
1 change: 0 additions & 1 deletion
1
packages/cli/test/core/fixtures/template/assert/v-on/0-15.tap.js
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 |
---|---|---|
@@ -1,5 +1,4 @@ | ||
function proxy () { | ||
var vm = this; | ||
var _vm = this; | ||
return (function () { | ||
_vm.myclick(1); | ||
|
10 changes: 3 additions & 7 deletions
10
packages/cli/test/core/fixtures/template/assert/v-on/0-2.tap.js
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 |
---|---|---|
@@ -1,13 +1,9 @@ | ||
function proxy () { | ||
var vm = this; | ||
var $wx = arguments[arguments.length - 1].$wx; | ||
var $event = ($wx.detail && $wx.detail.arguments) ? $wx.detail.arguments[0] : arguments[arguments.length - 1]; | ||
var $event = ($wx.detail && $wx.detail.arguments) ? $wx.detail.arguments[0] : arguments[arguments.length -1]; | ||
var $args = $wx.detail && $wx.detail.arguments; | ||
if ($wx.detail && $wx.detail.arguments) { | ||
$wx.detail = $wx.detail.arguments.length > 1 ? $wx.detail.arguments : $wx.detail.arguments[0]; | ||
} | ||
var _vm = this; | ||
var _vm=this; | ||
return (function () { | ||
_vm.myclickCapture.apply(vm, $args || [$event]); | ||
_vm.myclickCapture.apply(_vm, $args || [$event]); | ||
})(); | ||
} |
10 changes: 3 additions & 7 deletions
10
packages/cli/test/core/fixtures/template/assert/v-on/0-3.tap.js
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 |
---|---|---|
@@ -1,13 +1,9 @@ | ||
function proxy () { | ||
var vm = this; | ||
var $wx = arguments[arguments.length - 1].$wx; | ||
var $event = ($wx.detail && $wx.detail.arguments) ? $wx.detail.arguments[0] : arguments[arguments.length - 1]; | ||
var $event = ($wx.detail && $wx.detail.arguments) ? $wx.detail.arguments[0] : arguments[arguments.length -1]; | ||
var $args = $wx.detail && $wx.detail.arguments; | ||
if ($wx.detail && $wx.detail.arguments) { | ||
$wx.detail = $wx.detail.arguments.length > 1 ? $wx.detail.arguments : $wx.detail.arguments[0]; | ||
} | ||
var _vm = this; | ||
var _vm=this; | ||
return (function () { | ||
_vm.myclickCaptureStop.apply(vm, $args || [$event]); | ||
_vm.myclickCaptureStop.apply(_vm, $args || [$event]); | ||
})(); | ||
} |
1 change: 0 additions & 1 deletion
1
packages/cli/test/core/fixtures/template/assert/v-on/0-4.tap.js
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
4 changes: 0 additions & 4 deletions
4
packages/cli/test/core/fixtures/template/assert/v-on/0-5.tap.js
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
1 change: 0 additions & 1 deletion
1
packages/cli/test/core/fixtures/template/assert/v-on/0-6.tap.js
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 |
---|---|---|
@@ -1,5 +1,4 @@ | ||
function proxy (item) { | ||
var vm = this; | ||
var _vm = this; | ||
return (function () { | ||
_vm.myClickInFor(item); | ||
|
6 changes: 1 addition & 5 deletions
6
packages/cli/test/core/fixtures/template/assert/v-on/0-7.tap.js
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 |
---|---|---|
@@ -1,13 +1,9 @@ | ||
function proxy () { | ||
var vm = this; | ||
var $wx = arguments[arguments.length - 1].$wx; | ||
var $event = ($wx.detail && $wx.detail.arguments) ? $wx.detail.arguments[0] : arguments[arguments.length - 1]; | ||
var $args = $wx.detail && $wx.detail.arguments; | ||
if ($wx.detail && $wx.detail.arguments) { | ||
$wx.detail = $wx.detail.arguments.length > 1 ? $wx.detail.arguments : $wx.detail.arguments[0]; | ||
} | ||
var _vm = this; | ||
return (function () { | ||
_vm.handleCaptureBindTap.apply(vm, $args || [$event]); | ||
_vm.handleCaptureBindTap.apply(_vm, $args || [$event]); | ||
})(); | ||
} |
6 changes: 1 addition & 5 deletions
6
packages/cli/test/core/fixtures/template/assert/v-on/0-8.tap.js
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 |
---|---|---|
@@ -1,13 +1,9 @@ | ||
function proxy () { | ||
var vm = this; | ||
var $wx = arguments[arguments.length - 1].$wx; | ||
var $event = ($wx.detail && $wx.detail.arguments) ? $wx.detail.arguments[0] : arguments[arguments.length - 1]; | ||
var $args = $wx.detail && $wx.detail.arguments; | ||
if ($wx.detail && $wx.detail.arguments) { | ||
$wx.detail = $wx.detail.arguments.length > 1 ? $wx.detail.arguments : $wx.detail.arguments[0]; | ||
} | ||
var _vm = this; | ||
return (function () { | ||
_vm.handleCaptureCatchTap.apply(vm, $args || [$event]); | ||
_vm.handleCaptureCatchTap.apply(_vm, $args || [$event]); | ||
})(); | ||
} |
6 changes: 1 addition & 5 deletions
6
packages/cli/test/core/fixtures/template/assert/v-on/0-9.click-right.js
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 |
---|---|---|
@@ -1,13 +1,9 @@ | ||
function proxy () { | ||
var vm = this; | ||
var $wx = arguments[arguments.length - 1].$wx; | ||
var $event = ($wx.detail && $wx.detail.arguments) ? $wx.detail.arguments[0] : arguments[arguments.length - 1]; | ||
var $args = $wx.detail && $wx.detail.arguments; | ||
if ($wx.detail && $wx.detail.arguments) { | ||
$wx.detail = $wx.detail.arguments.length > 1 ? $wx.detail.arguments : $wx.detail.arguments[0]; | ||
} | ||
var _vm = this; | ||
return (function () { | ||
_vm.rightNavbar.apply(vm, $args || [$event]); | ||
_vm.rightNavbar.apply(_vm, $args || [$event]); | ||
})(); | ||
} |
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