Often, there are conditions where we need to provide a default value of a variable if it is
undefined. As a case study, we will take up the situation, where we are passing a Boolean value to function and if the input is
true, some action has to be taken. In case someone does not pass any value, the input is assumed to be
On 21st of June, the jQuery drag event plugin with iPhone (iOS) touch support was released. It has helped to add touch-based drag functionality to many existing web applications using the jQuery drag plugin. A minor update is released for this plugin that fixes the possibility of lack of touch-drag functionality on certain touch devices.
Continue reading Minor Bug Fix to jQuery Touch Drag Plugin
touchmove event and depend on native jQuery to do the rest.
Things turned out to be a bit trickier. After implementation, it struck us that with jQuery bound events,
event.pageX and other related mouse coordinate attributes would not work. Add to that, we were using the jQuery.event.drag plugin by ThreeDubsmedia to seal of the dirty job of drag-related coding.
Armed with the above two problems, we started to do what we thought would be the fastest solution – modify the jQuery.event.drag plugin for a graceful upscale!
Hello world, I am god.
On Earth, I had the dream to create life.
I am the one who painted green.
First, I weaved grass – they served a purpose.
They held onto the skin of my Earth.
Then chiselled trees with a different purpose.
I gave them fruit, knowing that someday
The fruits would serve some greater cause.
Continue reading The Purpose of Lucifer