Issue 494 in simile-widgets: Undefined: Timeline.GregorianDateLabeller.getMonthNames

141 views
Skip to first unread message

codesite...@google.com

unread,
May 25, 2013, 2:35:39 PM5/25/13
to simile-wi...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 494 by developm...@socialnicheguru.com: Undefined:
Timeline.GregorianDateLabeller.getMonthNames
http://code.google.com/p/simile-widgets/issues/detail?id=494

Timeline.GregorianDateLabeller.getMonthNames not defined:
Uncaught TypeError: Cannot read property '3' of undefined

What steps will reproduce the problem?
I installed timeline.js on Drupal 7.

What is the expected output? What do you see instead?

The timeline should show up.
Instead I get a blank map and timeline.

What version of the product are you using? On what browser and what
operating system?

I have tried this with simile_timeline 3.0 and 2.3.
I have tried 'bundle=true' and 'bundle=false'

Please provide any additional information below.

I added js files:
'src/webapp/api/timeline-api.js',
'src/ajax/api/simile-ajax-api.js',
'src/ajax/api/simile-ajax-bundle.js',
'src/webapp/api/timeline-bundle.js',


The timeline does not show up

I see this error in chrome and it is similar to firebug
Uncaught TypeError: Cannot read property '3' of undefined
Timeline.GregorianDateLabeller.getMonthName
http://<mysite>/simile_timeline/src/webapp/api/timeline-bundle.js?mnbcc6

output in Chrome debug:
Uncaught TypeError: Cannot read property '3' of undefined
timeline-bundle.js?mnbcc6:1765
Timeline.GregorianDateLabeller.getMonthName timeline-bundle.js?mnbcc6:1765
Timeline.GregorianDateLabeller.defaultLabelInterval
timeline-bundle.js?mnbcc6:1787
Timeline.GregorianDateLabeller.labelInterval timeline-bundle.js?mnbcc6:1769
createIntervalMarker timeline-bundle.js?mnbcc6:1558
Timeline.GregorianEtherPainter.paint timeline-bundle.js?mnbcc6:1345
Timeline._Band.paint timeline-bundle.js?mnbcc6:129
Timeline._Band.layout timeline-bundle.js?mnbcc6:127
Timeline._Band._recenterDiv timeline-bundle.js?mnbcc6:335
Timeline._Band.setViewLength timeline-bundle.js?mnbcc6:154
Timeline._Impl._distributeWidths timeline-bundle.js?mnbcc6:2774
Timeline._Impl._initialize timeline-bundle.js?mnbcc6:2741
Timeline._Impl timeline-bundle.js?mnbcc6:2633
Timeline.create timeline-bundle.js?mnbcc6:2556
TimeMap.initTimeline timemap.js?mnbcc6:581
TimeMap.init timemap.js?mnbcc6:280
Drupal.timelinemap.createWidget timelinemap.js?mnbcc6:104
(anonymous function) timelinemap.js?mnbcc6:252
e.extend.each jquery.min.js?v=1.7.1:2
(anonymous function) timelinemap.js?mnbcc6:250
e.extend.each jquery.min.js?v=1.7.1:2
e.fn.e.each jquery.min.js?v=1.7.1:2
Drupal.behaviors.timelinemap.attach timelinemap.js?mnbcc6:248
(anonymous function) drupal.js?mnbcc6:76
e.extend.each jquery.min.js?v=1.7.1:2
Drupal.attachBehaviors drupal.js?mnbcc6:74
Drupal.theme.placeholder drupal.js?mnbcc6:412
n jquery.min.js?v=1.7.1:2
o.fireWith jquery.min.js?v=1.7.1:2
e.extend.ready jquery.min.js?v=1.7.1:2
c.addEventListener.B

--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
Reply all
Reply to author
Forward
0 new messages