Cmd + F2 : Toggle bookmark
F2 : Jump to next bookmark
Shift + F2 : Jump to prev bookmark
| From bd8aa4106da1aa9f92aafceeac0701b7cf7962bd Mon Sep 17 00:00:00 2001 | |
| From: Adam Phillips <[email protected]> | |
| Date: Mon, 4 Mar 2013 09:46:49 +0000 | |
| Subject: [PATCH 1/2] Modified as shared helper to reduce typing | |
| Now that the as helper has had more use, it's become apparent that most | |
| cases benefit from using the display_name parameter to describe the kind | |
| of user being tested. Therefore, in order to reduce typing, the helper | |
| has been changed so that if the second parameter passed is a string, it | |
| is taken to be the display name. |
| set :sync_directories, ["public/assets", "public/galleries"] | |
| set :sync_backups, 3 |
| /* | |
| * Function to calculate the absolute difference in days, months and years between 2 days taking into account variable month lengths and leap years | |
| * It ignores any time component (ie hours, minutes and seconds) | |
| * | |
| */ | |
| function dateDiff(dt1, dt2) | |
| { | |
| /* | |
| * setup 'empty' return object | |
| */ |