enoshixi

Results comments of enoshixi

Selectize (http://brianreavis.github.io/selectize.js/) is also quite nice.

The problem is that ECMAScript standard does not guarantee Array.sort is a stable sort (https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort#Description). If you have a value you can sort by, you can always specify it as...

Take a look at the available rendering optinos: https://github.com/brianreavis/selectize.js/blob/master/docs/usage.md#rendering Example: http://jsfiddle.net/f8pwf/

I think the render > option_create option covers that https://github.com/brianreavis/selectize.js/blob/master/docs/usage.md#rendering

I would say prevent directly instantiating abstract classes at compile time. Otherwise let it be a run time error. It works the same way in other statically typed languages. ```...

I like the run time error. If you end up accidentally instantiating an abstract class you are likely to receive a run time error anyway (and not getting an error...

How would this work? ``` typescript enum Test { Foo = "Bar", Bar = "Baz", Baz = "Foo" } ```

I solved this problem with a babel plugin: https://github.com/enoshixi/babel-plugin-nameof I've been using this in production sites for a few months and it's worked like a charm. Finally managed to get...

I personally feel like the real value of nameof is not in getting type information at run time, but rather providing type safety when using string literals. As mentioned above,...