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

Standup 06/26/2009: Poor ScrewUnit…

Joe Moore
Friday, June 26, 2009
  • JQuery Events/live + ScrewUnit = :-(. ScrewUnit swaps the DOM “out from under” the elements that Events/live is watching, which messes with ScrewUnit. Call die on the DOM elements that live events are watching.

  • ScrewUnit + CI + IE = :’-( Also, When ScrewUnit suites become large, they trigger IE’s “slow script” warning, which can freeze your continuous integration build. Check out the Registry Hack to set your own timeout.

  • We have a fan of Thor in the house: “Map options to a class. Simply create a class with the appropriate annotations, and have options automatically map to functions and parameters.” Which, as is (not) obvious, indicates that Thor is a replacement for rake.

  • 0 Shares
  • Share on Facebook
  • Share on Twitter

7 Comments

  1. Jack Dempsey says:

    “Which, as is obvious, indicates that Thor is a replacement for rake.”

    While Thor can definitely be used as a replacement for Rake, its also very useful for standalone scripting. You can use its option parsing abilities and run scripts on their own. I utilize a lot of these abilities in a little project I’ve been working on called beet, a project generation tool (similar to Rails templates):

    http://jackdempsey.github.com/beet/

    June 26, 2009 at 3:26 pm

  2. Matthew O'Connor says:

    It’s not at all obvious that Thor is a replacement for rake! At least not from your description, it’s a bit more suggestive though once you see the sample code on github.

    June 27, 2009 at 12:26 am

  3. TJ Holowaychuk says:

    Thor sucks IMO. Check out http://visionmedia.github.com/commander/

    June 28, 2009 at 10:03 am

  4. Steve Conover says:

    Guess it depends on what you’re using it for. We like it because we get classes and methods, and we can invoke either via regular object instantiation + method call, or from the command line.

    June 28, 2009 at 5:22 pm

  5. Joe Moore says:

    Sarcasm FAIL! Sorry for the confusion. Thor was described to me as a replacement for rake, while the actual description was very confusing to me.

    June 29, 2009 at 9:12 am

  6. Kristian Hanekamp says:

    To prevent Screw.Unit and jquery Live Events from clashing I use the following “after” function:

    after(function(){
    // remove all jquery live events
    $(“*”).die();
    });

    October 19, 2009 at 3:19 am

  7. Kristian Hanekamp says:

    Let me try this again, hoping for better formatting:

    To prevent Screw.Unit and jquery Live Events from clashing I use the following “after” function:

    after(function(){
    // remove all jquery live events
    $(“*”).die();
    });

    October 19, 2009 at 7:55 am

Add New Comment Cancel reply

Your email address will not be published.

Joe Moore

Joe Moore
New York

Recent Posts

  • How We Use tmux for Remote Pair Programming
  • Integrating Remote Developers: Intuitive, Flexible Video Conferencing
  • Pair Programming Matrix
Subscribe to Joe's Feed

Author Topics

agile (117)
pair programming (6)
remote (4)
remote pair programming (3)
tmux (1)
android (10)
mobile (10)
robolectric (4)
java (4)
c2dm (2)
testing (8)
apple (1)
ipad (1)
pivotal tracker (6)
sf.tug (2)
desert (2)
ruby on rails (13)
javascript (2)
capistrano (1)
palmpre (1)
active record (3)
activerecord (6)
mysql (1)
rubymine (1)
fun (4)
acts_as_fu (1)
rspec (2)
xp (1)
flash (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 >