Dustin Davis
Developer, Entrepreneur
Tag: javascript

If you want to observe changes to an array in Aurelia, you can’t simply use the @observable decorator as it won’t recognize mutations to the the array. Instead, you need to use the collectionObserver in the BindingEngine. Example: There are some gotchas that you should be aware of though… In the example above, if you […]

After writing my fuel trip calculator, I learned there was a bug in IE. I got it to work but I get getting ‘meters’ is null or not an object or even worse, ‘null’ is null or not an object. I tried everything I could think of in the javascript code to get rid of […]