Brian M Hunt

Results 223 comments of Brian M Hunt

That looks to be an upstream problem. Are you in timezone AMT by any chance?

Thanks. I'm confident this is an upstream problem. The comment in the pytz test code is: ``` def no_testCreateLocaltime(self): # It would be nice if this worked, but it doesn't....

@cervengoc A truthy/falsy test e.g. `$atIndex(4)` returns true if the item is at index 4. I had it in my mind that this could be O(1), but I'm not entirely...

@cervengoc Yeah, I'm with you. I think it'll just be $isFirst and $isLast

@AdamWillden They should all be O(1); the `isNotLast` & `isNotFirst` are IMHO expressed better as `!$isLast` and `!$isFirst` respectively. I.e. there should be no need for property values for these...

Thanks @IanYates – Yes, `!isLast()` is the right syntax. :) It should be an observable (though may in the implementation end up being an opaque `defineProperty`). `!isLast()` ends up being...

@AdamWillden Cool. :)

... I wonder if we could use `replaceChild` instead of `removeChild`

We might consider running `cleanNode` on every node, then `removeChild` on every node.

For the record, I tried (around line 357 of `index.js`): ``` javascript var removeFn = function () { var parent = nodes[0].parentNode; for (var i = nodes.length - 1; i...