MDL

Results 52 comments of MDL

This happens when the default port 8000 is already taken by another program. In the spirit of friendlier messages elm-reactor should say something like "Default port 8000 is already taken...

Import { YourComponent } from "./YourComponent"; Const yourComponent = new yourComponent(); See the testing section of the docs in basics and advanced. On Tue, May 8, 2018, 8:13 AM Greg...

Ah, almost the same way. With ```js var vm = Template.name.createViewModel(); var vm = Template.name.createViewModel(obj_with_propreties_passed_down_to_template); ``` See the testing part of the PhoneBook example project: https://github.com/ManuelDeLeon/phonebook/tree/master/tests/mocha/client/viewmodels

Tracker.nonReactive On Aug 26, 2016 1:48 PM, "Kat KatKat" [email protected] wrote: > I want to get contents of reactive array in autorun without depending on > it - similar to...

Now that I think of it .value should give you a non reactive array. I'll update it later. In the meantime use tracker non reactive. On Aug 26, 2016 1:49...

ouch. I'll fix it. thanks. On Jul 14, 2016 1:25 PM, "Kat KatKat" [email protected] wrote: > Toggle binding descr has the same text as if\visible > > — > You...

It is quasi-reserved. It's overridden in the repeat block because the repeat binding is rewritten as: ``` {this.collection().map((repeatObject, repeatIndex) => { return })} ``` See [http://viewmodel.org/#BindingsRepeat](http://viewmodel.org/#BindingsRepeat)

Feel free to submit any PR that you think will make the project or documentation better =)

I'll revisit this one later on after the dust settles. I may end up adding an `onLocalStorage` option. No promises though. In the meantime you can always use any of...

This seems to be an issue with the `else if` not VM, it works if you do something like: ``` {{#if isValidating}} Validating {{/if}} {{#if nameIsValid}} Name is valid {{/if}}...