Adam Shaw 2009-05-31 03:25:12 +00:00
parent ff281feb33
commit e92525b9e4
5 changed files with 31 additions and 8 deletions

View File

@ -1,7 +1,6 @@
FILES =\
*.js\
*.css\
fullcalendar\
jquery\
examples\
changelog.txt
@ -9,9 +8,32 @@ FILES =\
VER = `cat version.txt`
DATE = `svn info fullcalendar.js | grep Date: | sed 's/.*: //g'`
REV = `svn info fullcalendar.js | grep Rev: | sed 's/.*: //g'`
hey:
@for f in fullcalendar/*.js; do echo $$f; done
zip:
@mkdir -p fullcalendar
@mkdir -p build/F
@cp -rt build/F ${FILES}
#@rm -rf `find build/fullcalendar -type d -name .svn`
q:
@for f in fullcalendar/*.js; do\
echo `svn info $$f`;\
done
yo:
#sed -i "s/FullCalendar/& v`cat version.txt`/" $$f;\
#sed -i "s/Date:/& `svn info $$f | grep Date: | sed 's/.*: //g'`/" $$f;\
#sed -i "s/Revision:/& `svn info $$f | grep Rev: | sed 's/.*: //g'`/" $$f;\
#@cd build/fullcalendar; zip -r fullcalendar-`cat ../../version.txt`.zip *
#@mv build/fullcalendar/fullcalendar-`cat version.txt`.zip dist
#@rm -rf build/fullcalendar
something:
@cp -rt fullcalendar ${FILES}
@rm -rf `find fullcalendar -type d -name .svn`

View File

@ -363,12 +363,12 @@ when creating a custom event source:
Format a javascript Date object into a string. ``format`` may contain
one or more of the following commands (similar to PHP's date function):
* **Y** - Examples: 1999 or 2003
* **y** - Examples: 99 or 03
* **F** - January through December
* **M** - Jan through Dec
* **n** - 1 through 12 (month)
* **m** - 01 through 12 (month, leading zeros)
* **Y** - Examples: 1999 or 2003
* **y** - Examples: 99 or 03
* **a** - am or pm
* **A** - AM or PM
* **x** - a or p

View File

@ -20,7 +20,7 @@
//
// Calls methods of a pre-existing instance
// Calls methods on a pre-existing instance
//
if (typeof options == 'string') {
@ -30,8 +30,9 @@
var r = $.data(this, 'fullCalendar')[options].apply(this, args);
if (typeof res == 'undefined') res = r;
});
if (typeof res != 'undefined')
if (typeof res != 'undefined') {
return res;
}
return this;
}
@ -300,7 +301,7 @@
//
// Build the TABLE cells for the current month. (calls event fetch+render code)
// Build the TABLE cells for the current month. (calls event fetching & rendering code)
//
var thead, tbody, glass;