Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
[ANN] Sammy v0.2.0 released
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  1 message - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Aaron Quint  
View profile  
 More options Jun 10, 11:16 am
From: Aaron Quint <aa...@quirkey.com>
Date: Wed, 10 Jun 2009 11:16:13 -0400
Local: Wed, Jun 10 2009 11:16 am
Subject: [sammy.js][ANN] Sammy v0.2.0 released
Hey Everyone,

Big week with a lot of changes. I'm going to continue using the 'next'
branch as an unstable testing playground, and changes will be pulled
back to master for new releases.
Thanks to everyone who helped with this release!

CHANGES:

New:
  - Location Overrides: All location methods refer to two
Sammy.Application methods: getLocation() and setLocation() which
return and take a string, respectively. The default behavior is to
pull the location from window.location.hash, but these methods can be
overridden to provide alternate location strategies. Theres an example
in examples/location_override. (thanks to britg, CodeOfficer)
  - Sammy.Object#toHash() returns a JS object with any functions
stripped. Useful for using with params.
  - Sammy.Application#swap() is the method called within partial() for
changing the content of $element(). The default behavior is just to
use $.fn.html(), but can be overridden to provide some fancy
animations.

Fixed:
  - The 'changed' event is only fired at run() and after a partial's
callback. This is the event to bind to, to check the DOM after a
partial() call. (thanks to hpoydar).
  - template() (aka $.srender) handles single quoted attributes now
(aka generated HAML)
  - When the app booted up, run() would redirect to the start_url even
if another location was present.
  - the _checkLocation() method now sets last_location properly (which
fixes continual checking if route isn't found)

Thanks again, I'm updating the documentation later this afternoon.
Please file any bugs in github or come talk to me in #sammy on irc.

--AQ

Aaron Quint
http://www.quirkey.com


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google