Daniel Lombraña González
7af166ed85
Create a Date using the Date type.
...
This commit fixes an error in Safari that was not working. Moment.JS was not
converting correctly a string, while with thix fix works. More info here:
http://stackoverflow.com/questions/2587345/javascript-date-parse
2012-11-13 16:00:15 +01:00
Rufus Pollock
bc414e9f8c
[#212,views][s]: refactor views and tutorial so that no render call in initialize and view element can be passed in externally ( fixes #212 ).
2012-08-15 12:33:59 +01:00
Rufus Pollock
6f78b7b1be
[#211,view][s]: switch show/hide from events to explicit methods - fixes #211 .
2012-08-15 10:57:58 +01:00
Rufus Pollock
d599f75e85
[model,refator][s]: reintroduce summary on Record object deprecating recordSummary on Dataset.
...
* Reverses change in 1dadc1106bd2dbcad4580d3889e15ac44c865f80
* Record now has fields attribute passed down from Dataset. This is needed in order to support summary method and also makes sense -- as pointed out by @zephod
* Update examples
2012-07-09 01:29:46 +01:00
Rufus Pollock
a58f5e5bb0
[#174,refactor][s]: rename currentRecords to records on Dataset.
2012-07-05 15:37:17 +01:00
Rufus Pollock
202ca2dce0
[model,bugfix][s]: correction for change introduced in last commit to move summary method from Record to Dataset.recordSummary.
2012-07-03 15:35:40 +01:00
Rufus Pollock
a58dea652f
[bugfix,timeline][xs]: but VMM.debug = false inside guard for VMM being defined.
...
* was setting VMM.debug = false at module level but we may be including this module via recline.js but not intending to use timeline and hence not including VMM library.
2012-06-16 17:17:22 +01:00
Rufus Pollock
7b07a9558b
[timeline][s]: make it easy to customize timeline info in client apps by providing convertRecord method.
2012-06-11 12:46:10 +01:00
Rufus Pollock
399172b8f4
[timeline,tweaks][xs]: tweak setting of timeline width to be more robust in different circumstances.
2012-06-10 21:08:29 +01:00
Rufus Pollock
80d3576a6c
[view/timeline][s]: workarounds so that timeline can be init-ed automatically if created with a dom element.
...
* This means you don't have to do view.trigger('view:show') after creating if the view element already in the dom.
* Verite Timeline is a bit problematic in that it cannot be passed a dom element but insists on being passed an id it looks up.
2012-06-10 15:15:57 +01:00
Rufus Pollock
d2ce46cc42
[#152,timeline][xs]: handle null or undefined dates properly.
2012-06-10 14:23:03 +01:00
Rufus Pollock
75a6bbd80a
[#152,view/timeline][s]: more robust data parsing with tests - fixes #152 .
...
* Also discover and fix "bug" re momentjs timezone calculation and toDate.
2012-06-10 12:35:39 +01:00
Rufus Pollock
e73be69499
[refactor][s]: standardize naming of files to use '.' rather than '-' as separator.
2012-06-06 10:40:22 +01:00