Commit Graph

287 Commits

Author SHA1 Message Date
Evan You 1e01c189f4 fix #394 transition gaps 2014-08-12 17:44:51 -04:00
Radovan Lozej 81e9edf81d fixed currency filter for negative numbers 2014-07-30 08:56:30 +02:00
Evan You 8e9cbad2c3 fix unit test cleanup in IE9 2014-07-28 23:52:46 -04:00
Evan You 738a80ef23 fix #347 currency filter with string values 2014-07-14 21:38:02 -04:00
Evan You 4bc12434f0 make tests pass for #335 2014-07-08 17:10:17 -04:00
Evan You 20f0aaa915 Merge branch '335-allow-using-node-as-template' of https://github.com/jordangarcia/vue into template 2014-07-08 17:05:42 -04:00
jordangarcia 66f4708643 Allow template nodes to be passed as a template option
Split the parsing/switching logic of the type of template option
provided into the `template-parser` module and refactored `fragment`
module to only convert string -> document fragment
2014-07-04 14:04:27 -07:00
Evan You a49e5616dd fix #310 v-style fails with number values 2014-06-12 14:25:22 -04:00
Evan You 894b5fd85f make methods react to changes 2014-06-06 15:07:26 -04:00
Evan You 182fe83e37 give v-with higest priority among normal directives (fix #282) 2014-05-27 20:58:42 -04:00
Evan You 8f251477d5 address #278 v-style with important priority 2014-05-27 17:44:16 -04:00
Evan You 3180eab53a fix #253 attribute names with colons 2014-05-15 11:05:35 -04:00
Evan You 8cd19f0fdb allow one-time interpolation inside all directives 2014-05-08 18:32:29 -04:00
Evan You 163f435153 fix #251 get/set for keypaths with brackets 2014-04-30 17:11:10 -04:00
Evan You d4315d8e83 fix tests for #249 2014-04-29 12:21:16 -04:00
Evan You b50e5a5963 Remove identifier sync back in v-repeat
The auto-sync back when an identifier is used causes issues
such as #213 and #234, while the feature is a rarely used
edge case that is also a bit magical. It can be easily circumvented
by using object arrays instead of primitive ones, and the sync-back
is better left in userland for those who really need it.

For reference, Angular also doesn't support sync back for primitive values.
2014-04-25 15:33:19 -04:00
Evan You e422d95945 fix #242 expressions with object literals 2014-04-16 11:25:59 -04:00
Evan You c941fd654e Use more robust string -> fragment conversion
Using the wrapper technique from jQuery so that
utils.toFragment() can deal with table elements
and SVG elements (with proper namespace)
2014-03-27 19:33:40 -04:00
Evan You 6be817eebe prefix internal directive methods with $ so its less confusing 2014-03-27 13:02:22 -04:00
Evan You 589bb8f8da unit tests pass 2014-03-26 14:57:17 -04:00
Evan You 8ce2b3dbde functional tests pass 2014-03-26 13:17:19 -04:00
Evan You 3bde2320af new directive parser wip 2014-03-26 02:40:18 -04:00
Evan You 62b293de07 make tests pass 2014-03-24 04:07:37 -04:00
Evan You 7f712392fd support filters in attribute bindings 2014-03-24 03:15:59 -04:00
Evan You c67685b713 use more efficient Object check 2014-03-23 05:30:35 -04:00
Evan You 1f3175bb32 deprecate {{>yield}} and use <content> syntax 2014-03-23 03:41:00 -04:00
Evan You 0f3b2e4318 clean up compiler constructor 2014-03-21 20:35:39 -04:00
Evan You 3be1141081 add tree view test case 2014-03-21 15:37:52 -04:00
Evan You ca2137d942 test for this.$data access in the created hook 2014-03-21 13:19:20 -04:00
Evan You 5e638a0893 methods 2014-03-21 02:43:40 -04:00
Evan You 032a0de9bb perf tuning 2014-03-20 19:24:23 -04:00
Evan You 7b243950dc make vm.$get recursive 2014-03-20 15:29:32 -04:00
Evan You 6024e0bed2 more test cases for transition+repeat 2014-03-19 01:10:47 -04:00
Evan You 423b54dfd4 remove event delegation 2014-03-17 10:05:44 -04:00
Evan You 1b1d72ea56 enable $event in v-on expressions + enable e.preventDefault() 2014-03-16 22:09:53 -04:00
Evan You b084957051 unit test pass 2014-03-16 18:26:21 -04:00
Evan You 6626d3b804 functional tests pass 2014-03-15 17:54:34 -04:00
Evan You 5872bf3aff fix #176 + node compiling perf improvements 2014-03-13 13:46:45 -04:00
Evan You 984304c263 allow config custom interpolation delimiters 2014-03-13 11:45:56 -04:00
Evan You f3af9599ce Collect dependencies on all types
Previously dependencies (get events) are only collected from
tip values - this prevents objects being collected as dependency.
The issue in #178 is that the user begins a value as non-object,
but has a binding somewhere that indicates the value can be an object
later. The observer converts the value to an object implicitly,
causing expressions not picking it up as dependency. This change
makes the observer emit get events regardless of type.

Also utils.set and get have been fixed to check for both null
and undefined.
2014-03-13 10:11:09 -04:00
Evan You 3df6343a81 v-if refactor + change to use childVM 2014-03-12 20:13:34 -04:00
Evan You c4897fa199 remove duplicate array in compiler 2014-03-12 17:45:33 -04:00
Evan You 665520f59b v-component & v-with refactor 2014-03-12 17:02:21 -04:00
Evan You 2059be5a63 bindable paramAttributes 2014-03-12 13:19:22 -04:00
Evan You 5eddfd0514 make array filters work with objects 2014-03-12 10:55:35 -04:00
Evan You a2499921b8 tests for array filters 2014-03-12 01:19:37 -04:00
Evan You 336d06de1d filterBy & orderBy first pass 2014-03-11 23:41:40 -04:00
Evan You 74590b208e custom filter API + exp parser unit test improvements 2014-03-11 00:16:51 -04:00
Evan You 607e197a08 computed filters + test 2014-03-10 23:32:58 -04:00
Evan You e07f25dba9 change todomvc example to use computed property based implementation 2014-03-10 18:16:34 -04:00