Archive for November 11, 2011
-
jQuery Rambling Slider v0.1.2 is out!
November 11, 2011
This post was originally published in the Rambling Labs Blog on November 11, 2011.
I am proud to announce that version 0.1.2 of the jQuery Rambling Slider has been released!
It really has been out for a couple of days now, but I’ve had a couple of busy weeks. Nevertheless, I managed to do the major refactoring that I mentioned when version 0.1.1 was released. So, what have I added to this new release? Here’s the list:
- Added the ability to call the
stop
andstart
methods from$('#slider').ramblingSlider('stop')
. - Added the
foldLeft
animation. - Refactored the build process, as the commands remain the same (
cake build
andcake minify
) - Added the missing yuicompressor (oops…)
- Reformatted the for loops to be more CoffeeScript-ish.
- Added the…
- Added the ability to call the
-
The joy of writing CoffeeScript
November 11, 2011
This post was originally published in the Rambling Labs Blog on November 11, 2011.
I have been a fan of JavaScript for a while now, and I have dived into the CoffeeScript world for the last month or so.
Guess what? I love it! It’s been a great experience so far.
Definitely the one thing that I’m loving the most right now about CoffeeScript is the syntactic sugar. It’s basically a lot of simple shorthands for certain things (the
->
is so handy). Take this example (and ignore what the excluded methods are doing):I had this:
class BuildUtils combine_source_files: (callback) -> self = @ fs.readdir './src', (err, files) -> self.error_handler err content = new Array() files = files.sort() for file, index