Pivotal Labs

Main menu

Skip to primary content
Skip to secondary content
  • About
  • Case Studies
  • Team
    • Executives
    • Locations
      • San Francisco (HQ)
      • Boston
      • Boulder
      • Denver
      • London
      • Los Angeles
      • New York
  • Community
    • Blogs
    • Tech Talks
    • Events
  • Careers
    • Lifestyle
    • Principles & Practices
    • Benefits
    • FAQ
    • Apply
  • Contact
    • Press Room
    • Press Releases
    • In The News
    • Press Kit
  • All
  • Labs
  • Standup
  • Tracker

what, CI Reporter?

Max Brunsfeld
Thursday, October 18, 2012

Helps

  • iPad/iOS – full page redraws

iOS devices do a full-page redraw when we introduce new height at the bottom of the page or when backgrounding/foregrounding the browser. How to avoid that?

  • Jasmine not working when run through jenkins

Jasmine:ci on firefox fails on CI only with the error:

/home/ci/.rvm/gems/ruby-1.9.3-p194@gemini/gems/selenium-webdriver-2.25.0/lib/selenium/webdriver/remote/response.rb:52:in `assert_ok’: ReferenceError: jsApiReporter is not defined (Selenium::WebDriver::Error::JavascriptError)

Anyone seen this? It runs great on the command line when we ssh into the ci box, but fails when run through Jenkins.

Interestings

  • JS – objects on prototypes

In javascript, if you give a prototype an object property, then mutating that object will do so for all instances of the class.

So if you do this:

MyClass.prototype.things = {
  "foo": "cool"
};

var instance1 = new MyClass(),
instance2 = new MyClass();

instance1.things["bar"] = 5;

then

instance2.things["bar"] === 5
  • 0 Shares
  • Share on Facebook
  • Share on Twitter

Add New Comment Cancel reply

Your email address will not be published.

Max Brunsfeld

Max Brunsfeld
San Francisco

Recent Posts

  • No go on #nogo
  • Super secret special standup
  • [Standup][SF] 5/17 – we approve of the juggernaut
Subscribe to Max's Feed

Author Topics

backbone (1)
javascript (1)
  • About
  • Case Studies
  • Team
  • Community
  • Careers
  • Contact
  • Labs
  • Events

Contact Us

contact@pivotallabs.com
+1 415-77-PIVOT
TwitterLinkedInFacebook

Pivotal Tracker

Tracker is the award-winning agile project management tool that enables real-time collaboration around a shared, prioritized backlog.
Visit pivotaltracker.com >