Close
Glad You're Ready. Let's Get Started!

Let us know how we can contact you.

Thank you!

We'll respond shortly.

PIVOTAL LABS
New Jasmine Gem

Helps

  • New Jasmine Gem

There’s a new version of jasmine-gem on GitHub – please test it out so we can push a new gem next week.

https://github.com/pivotal/jasmine-gem

  • jQuery opacity

Once the CSS opacity is set on an element with jQuery the z-index is no longer respected and the element appears on the bottom.

Leads:
Can it be reproduced in other browsers? Only tried Chrome so far.

Interestings

  • Safari doesn’t like Rails timestamps

my_model.created_at or my_model.create_at.to_i spit out values that when you (in JavaScript) new Date(value), give crazy dates in Safari.

The workaround is to use:

(Ruby)
value = my_model.created_at.to_f * 1000

(JS)
date = new Date(value)

Discussion:
Try all browsers when dealing with a Date API
There’s also DateJS, but has not been maintained in a long time.

  • Jasmine failed to start on latest Chrome

If you have an updated version of Chrome and jasmine fails to start Chrome, reinstalling later version of chrome driver (http://code.google.com/p/chromedriver/downloads/list).

Or alternative is to re-image the machine, which contains later Chrome and later ChromeDriver.

  • bitbucket Tracker integration broken by ‘&’ in author name

We spent several hours tracking down this (open) bug in bitbucket’s tracker broker. You can change the ampersand to something else in your git-pair script.

  • IE9 svg path click handler

IE9’s click handler for SVG paths treats two clicks as a single click and six clicks as a double click.

Comments
  1. FYI I’ve used http://momentjs.com/ for date parsing in JS and it’s worked quite well.

Post a Comment

Your Information (Name required. Email address will not be displayed with comment.)

* Copy This Password *

* Type Or Paste Password Here *