Martin Hradil

Results 60 comments of Martin Hradil

For reference, this is what I ended up using, maybe somebody finds it useful. ``` app.directive('dropdownSubmenu', function($timeout) { return { link: function(scope, elem, attrs) { var lvl = ~~ attrs.level;...

@pekur, you're unlikely to be able to use that code in an ASP.NET app, if it's indeed the same problem you just have to make sure you initialize the main...

@shaozi The directive is not really meant to be used as is, it was mostly serving to demonstrate the problem. After 2 years, I'm no longer sure it would quite...

The best test case is probably... `ng-true-value="undefined" ng-false-value="null"` Because true value being set to undefined will fail sooner, as `getTrueValue` will assume the value was not set and should be...

``` cd /usr/lib/macintosh.js/resources/app/ sudo yarn add github-url-to-object ``` seems to fix that immediate issue. After that, it seems stuck on "Loading emulator dependencies" without further errors (except `Electron's autoUpdater does...

Yeah, no, what happens when you need to decorate an already existing record? Suddenly `@record.decorate.icon` becomes something like `"#{@record.class}Decorator".constantize.new?(@record).icon`. To me, being able to call `decorate` on ActiveRecord instances without...

@franzliedke Pretty much every single time :) The model goes through our reporting engine to generate reports, and then you decorate it to get the icons to use. EDIT: that...

Strictly speaking the 2 are not identical .. only indistinguishable :).

Thanks! :) I think this is especially problematic when the whole form is just a selectpicker in the beginning.. ![localhost_3000_catalog_explorer 3](https://user-images.githubusercontent.com/289743/34048275-09651132-e1ab-11e7-992e-d3d483ef3b15.png)

One tip.. Not sure if the problem comes more from the fact that the text is gray, or from the fact that so is the chevron.. (Also, visually it feels...