We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 78271e5 commit 4801d7aCopy full SHA for 4801d7a
src/directives/prop.js
@@ -1,6 +1,5 @@
1
var _ = require('../util')
2
var Watcher = require('../watcher')
3
-var expParser = require('../parsers/expression')
4
5
module.exports = {
6
@@ -40,11 +39,8 @@ module.exports = {
40
39
child.$set(childKey, this.parentWatcher.value)
41
42
// only setup two-way binding if this is not a one-way
43
- // binding, and the parentKey is a "settable" simple path.
44
- if (
45
- !this._descriptor.oneWay &&
46
- expParser.isSimplePath(parentKey)
47
- ) {
+ // binding.
+ if (!this._descriptor.oneWay) {
48
this.childWatcher = new Watcher(
49
child,
50
childKey,
0 commit comments