Browse Source

Fixed variable name bug that would cause IE8 to not process dates closes #334

pull/366/head
Zach Wise 12 years ago
parent
commit
0e726f398b
  1. 686
      codekit-config.json
  2. 4
      compiled/js/timeline-min.js
  3. 4
      compiled/js/timeline.js
  4. 2
      source/js/Core

686
codekit-config.json

File diff suppressed because it is too large Load Diff

4
compiled/js/timeline-min.js vendored

File diff suppressed because one or more lines are too long

4
compiled/js/timeline.js

@ -1405,7 +1405,7 @@ if(typeof VMM != 'undefined' && typeof VMM.Date == 'undefined') {
// IE 8 < Won't accept dates with a "-" in them. // IE 8 < Won't accept dates with a "-" in them.
time_parse = d.split("T"); time_parse = d.split("T");
if (d.match(":")) { if (d.match(":")) {
time_array = _time_parse[1].split(":"); time_array = time_parse[1].split(":");
if (time_array[0] >= 1) { if (time_array[0] >= 1) {
date.setHours(time_array[0]); date.setHours(time_array[0]);
p.hour = true; p.hour = true;
@ -1423,7 +1423,7 @@ if(typeof VMM != 'undefined' && typeof VMM.Date == 'undefined') {
p.millisecond = true; p.millisecond = true;
} }
} }
_d_array = time_parse[0].split("-"); date_array = time_parse[0].split("-");
if (date_array[0]) { if (date_array[0]) {
date.setFullYear(date_array[0]); date.setFullYear(date_array[0]);
p.year = true; p.year = true;

2
source/js/Core

@ -1 +1 @@
Subproject commit 3d91fd3866982b8040a2f04b41a9cd0847e83fda Subproject commit 87a61b1ce267f47049aee21ef4fea0188764dc9c
Loading…
Cancel
Save