I had an existing site that used the date.js library, and it stopped working after I applied the Extjs border layout ( http://dev.sencha.com/deploy/dev/examples/layout-browser/layout-browser .html ) to my site.
So, the line in question is this:
var weeknum = (dates[y][m][d]).getWeek();
Firebug tells me that dates [y] [m] [d] .getWeek are not a function.
Now, from my understanding, Extjs extends the javascript date object, which is the likely cause for this problem. I tried changing the line of code above to use Extjs getWeekOfYear (), but I still get the same error.
Any ideas on how I can save the existing getWeek () code and still use Extjs?
Thanks!
EDIT: Was there
console.log((dates[y][m][d]));

Edit2: 
source share