ariatemplates / hashspace

JavaScript client-side template engine
http://hashspace.ariatemplates.com
Apache License 2.0
14 stars 18 forks source link

fix(components) $dispose not always called #306

Open benouat opened 9 years ago

benouat commented 9 years ago

Let's consider a template like that

<template test(data)>
  <#data.ref />
</template>

When changing the component template behinf data.ref corresponding $dispose() method (if any defined in the controller class) were not executed.

coveralls commented 9 years ago

Coverage Status

Coverage decreased (-0.02%) when pulling f7c5c3573a63eaffbdf2fb789db7c0b809c1427b on benouat:components-lifecycle into d91db78096c31c5b064faf6f5a15b6f7a303cf60 on ariatemplates:master.