Browse Source

move change to Array.prototype to a utility method to have less impact on other people's JavaScript

pull/584/head
Joe Germuska 11 years ago
parent
commit
974a91a3cb
  1. 2
      build/css/themes/dark.css
  2. 2
      build/css/themes/font/AbrilFatface-Average.css
  3. 2
      build/css/themes/font/Arvo-PTSans.css
  4. 2
      build/css/themes/font/Bevan-PotanoSans.css
  5. 2
      build/css/themes/font/BreeSerif-OpenSans.css
  6. 2
      build/css/themes/font/DroidSerif-DroidSans.css
  7. 2
      build/css/themes/font/Georgia-Helvetica.css
  8. 2
      build/css/themes/font/Lekton-Molengo.css
  9. 2
      build/css/themes/font/Lora-Istok.css
  10. 2
      build/css/themes/font/Merriweather-NewsCycle.css
  11. 2
      build/css/themes/font/NewsCycle-Merriweather.css
  12. 2
      build/css/themes/font/NixieOne-Ledger.css
  13. 2
      build/css/themes/font/PT.css
  14. 2
      build/css/themes/font/PTSerif-PTSans.css
  15. 2
      build/css/themes/font/Pacifico-Arimo.css
  16. 2
      build/css/themes/font/PlayfairDisplay-Muli.css
  17. 2
      build/css/themes/font/PoiretOne-Molengo.css
  18. 2
      build/css/themes/font/Rancho-Gudea.css
  19. 2
      build/css/themes/font/SansitaOne-Kameron.css
  20. 2
      build/css/timeline.css
  21. 2
      build/js/locale/af.js
  22. 2
      build/js/locale/ar.js
  23. 2
      build/js/locale/bg.js
  24. 2
      build/js/locale/ca.js
  25. 2
      build/js/locale/cz.js
  26. 2
      build/js/locale/da.js
  27. 2
      build/js/locale/de.js
  28. 2
      build/js/locale/el.js
  29. 2
      build/js/locale/en-24hr.js
  30. 2
      build/js/locale/en.js
  31. 2
      build/js/locale/eo.js
  32. 2
      build/js/locale/es.js
  33. 2
      build/js/locale/et.js
  34. 2
      build/js/locale/eu.js
  35. 2
      build/js/locale/fa.js
  36. 2
      build/js/locale/fi.js
  37. 2
      build/js/locale/fo.js
  38. 2
      build/js/locale/fr.js
  39. 2
      build/js/locale/gl.js
  40. 2
      build/js/locale/he.js
  41. 2
      build/js/locale/hu.js
  42. 2
      build/js/locale/hy.js
  43. 2
      build/js/locale/id.js
  44. 2
      build/js/locale/is.js
  45. 2
      build/js/locale/it.js
  46. 2
      build/js/locale/iw.js
  47. 2
      build/js/locale/ja.js
  48. 2
      build/js/locale/ka.js
  49. 2
      build/js/locale/ko.js
  50. 2
      build/js/locale/lb.js
  51. 2
      build/js/locale/lt.js
  52. 2
      build/js/locale/lv.js
  53. 2
      build/js/locale/ms.js
  54. 2
      build/js/locale/ne.js
  55. 2
      build/js/locale/nl.js
  56. 2
      build/js/locale/no.js
  57. 2
      build/js/locale/pl.js
  58. 2
      build/js/locale/pt-br.js
  59. 2
      build/js/locale/pt.js
  60. 2
      build/js/locale/rm.js
  61. 2
      build/js/locale/ru.js
  62. 2
      build/js/locale/si.js
  63. 2
      build/js/locale/sk.js
  64. 2
      build/js/locale/sl.js
  65. 2
      build/js/locale/sr-cy.js
  66. 2
      build/js/locale/sr.js
  67. 2
      build/js/locale/sv.js
  68. 2
      build/js/locale/ta.js
  69. 2
      build/js/locale/te.js
  70. 2
      build/js/locale/tl.js
  71. 2
      build/js/locale/tr.js
  72. 2
      build/js/locale/zh-cn.js
  73. 2
      build/js/locale/zh-tw.js
  74. 2
      build/js/storyjs-embed-cdn.js
  75. 2
      build/js/storyjs-embed-generator.js
  76. 2
      build/js/storyjs-embed.js
  77. 12
      build/js/timeline-min.js
  78. 33
      build/js/timeline.js
  79. 6
      source/js/Core/Core/VMM.Util.js
  80. 9
      source/js/Core/Core/VMM.js
  81. 14
      source/js/Core/Media/VMM.ExternalAPI.js
  82. 2
      source/js/VMM.Timeline.TimeNav.js

2
build/css/themes/dark.css

@ -1,5 +1,5 @@
/*
TimelineJS - ver. 2.29.1 - 2014-02-03
TimelineJS - ver. 2014-02-20-16-24-17 - 2014-02-20
Copyright (c) 2012-2013 Northwestern University
a project of the Northwestern University Knight Lab, originally created by Zach Wise
https://github.com/NUKnightLab/TimelineJS

2
build/css/themes/font/AbrilFatface-Average.css

@ -1,5 +1,5 @@
/*
TimelineJS - ver. 2.29.1 - 2014-02-03
TimelineJS - ver. 2014-02-20-16-24-17 - 2014-02-20
Copyright (c) 2012-2013 Northwestern University
a project of the Northwestern University Knight Lab, originally created by Zach Wise
https://github.com/NUKnightLab/TimelineJS

2
build/css/themes/font/Arvo-PTSans.css

@ -1,5 +1,5 @@
/*
TimelineJS - ver. 2.29.1 - 2014-02-03
TimelineJS - ver. 2014-02-20-16-24-17 - 2014-02-20
Copyright (c) 2012-2013 Northwestern University
a project of the Northwestern University Knight Lab, originally created by Zach Wise
https://github.com/NUKnightLab/TimelineJS

2
build/css/themes/font/Bevan-PotanoSans.css

@ -1,5 +1,5 @@
/*
TimelineJS - ver. 2.29.1 - 2014-02-03
TimelineJS - ver. 2014-02-20-16-24-17 - 2014-02-20
Copyright (c) 2012-2013 Northwestern University
a project of the Northwestern University Knight Lab, originally created by Zach Wise
https://github.com/NUKnightLab/TimelineJS

2
build/css/themes/font/BreeSerif-OpenSans.css

@ -1,5 +1,5 @@
/*
TimelineJS - ver. 2.29.1 - 2014-02-03
TimelineJS - ver. 2014-02-20-16-24-17 - 2014-02-20
Copyright (c) 2012-2013 Northwestern University
a project of the Northwestern University Knight Lab, originally created by Zach Wise
https://github.com/NUKnightLab/TimelineJS

2
build/css/themes/font/DroidSerif-DroidSans.css

@ -1,5 +1,5 @@
/*
TimelineJS - ver. 2.29.1 - 2014-02-03
TimelineJS - ver. 2014-02-20-16-24-17 - 2014-02-20
Copyright (c) 2012-2013 Northwestern University
a project of the Northwestern University Knight Lab, originally created by Zach Wise
https://github.com/NUKnightLab/TimelineJS

2
build/css/themes/font/Georgia-Helvetica.css

@ -1,5 +1,5 @@
/*
TimelineJS - ver. 2.29.1 - 2014-02-03
TimelineJS - ver. 2014-02-20-16-24-17 - 2014-02-20
Copyright (c) 2012-2013 Northwestern University
a project of the Northwestern University Knight Lab, originally created by Zach Wise
https://github.com/NUKnightLab/TimelineJS

2
build/css/themes/font/Lekton-Molengo.css

@ -1,5 +1,5 @@
/*
TimelineJS - ver. 2.29.1 - 2014-02-03
TimelineJS - ver. 2014-02-20-16-24-17 - 2014-02-20
Copyright (c) 2012-2013 Northwestern University
a project of the Northwestern University Knight Lab, originally created by Zach Wise
https://github.com/NUKnightLab/TimelineJS

2
build/css/themes/font/Lora-Istok.css

@ -1,5 +1,5 @@
/*
TimelineJS - ver. 2.29.1 - 2014-02-03
TimelineJS - ver. 2014-02-20-16-24-17 - 2014-02-20
Copyright (c) 2012-2013 Northwestern University
a project of the Northwestern University Knight Lab, originally created by Zach Wise
https://github.com/NUKnightLab/TimelineJS

2
build/css/themes/font/Merriweather-NewsCycle.css

@ -1,5 +1,5 @@
/*
TimelineJS - ver. 2.29.1 - 2014-02-03
TimelineJS - ver. 2014-02-20-16-24-17 - 2014-02-20
Copyright (c) 2012-2013 Northwestern University
a project of the Northwestern University Knight Lab, originally created by Zach Wise
https://github.com/NUKnightLab/TimelineJS

2
build/css/themes/font/NewsCycle-Merriweather.css

@ -1,5 +1,5 @@
/*
TimelineJS - ver. 2.29.1 - 2014-02-03
TimelineJS - ver. 2014-02-20-16-24-17 - 2014-02-20
Copyright (c) 2012-2013 Northwestern University
a project of the Northwestern University Knight Lab, originally created by Zach Wise
https://github.com/NUKnightLab/TimelineJS

2
build/css/themes/font/NixieOne-Ledger.css

@ -1,5 +1,5 @@
/*
TimelineJS - ver. 2.29.1 - 2014-02-03
TimelineJS - ver. 2014-02-20-16-24-17 - 2014-02-20
Copyright (c) 2012-2013 Northwestern University
a project of the Northwestern University Knight Lab, originally created by Zach Wise
https://github.com/NUKnightLab/TimelineJS

2
build/css/themes/font/PT.css

@ -1,5 +1,5 @@
/*
TimelineJS - ver. 2.29.1 - 2014-02-03
TimelineJS - ver. 2014-02-20-16-24-17 - 2014-02-20
Copyright (c) 2012-2013 Northwestern University
a project of the Northwestern University Knight Lab, originally created by Zach Wise
https://github.com/NUKnightLab/TimelineJS

2
build/css/themes/font/PTSerif-PTSans.css

@ -1,5 +1,5 @@
/*
TimelineJS - ver. 2.29.1 - 2014-02-03
TimelineJS - ver. 2014-02-20-16-24-17 - 2014-02-20
Copyright (c) 2012-2013 Northwestern University
a project of the Northwestern University Knight Lab, originally created by Zach Wise
https://github.com/NUKnightLab/TimelineJS

2
build/css/themes/font/Pacifico-Arimo.css

@ -1,5 +1,5 @@
/*
TimelineJS - ver. 2.29.1 - 2014-02-03
TimelineJS - ver. 2014-02-20-16-24-17 - 2014-02-20
Copyright (c) 2012-2013 Northwestern University
a project of the Northwestern University Knight Lab, originally created by Zach Wise
https://github.com/NUKnightLab/TimelineJS

2
build/css/themes/font/PlayfairDisplay-Muli.css

@ -1,5 +1,5 @@
/*
TimelineJS - ver. 2.29.1 - 2014-02-03
TimelineJS - ver. 2014-02-20-16-24-17 - 2014-02-20
Copyright (c) 2012-2013 Northwestern University
a project of the Northwestern University Knight Lab, originally created by Zach Wise
https://github.com/NUKnightLab/TimelineJS

2
build/css/themes/font/PoiretOne-Molengo.css

@ -1,5 +1,5 @@
/*
TimelineJS - ver. 2.29.1 - 2014-02-03
TimelineJS - ver. 2014-02-20-16-24-17 - 2014-02-20
Copyright (c) 2012-2013 Northwestern University
a project of the Northwestern University Knight Lab, originally created by Zach Wise
https://github.com/NUKnightLab/TimelineJS

2
build/css/themes/font/Rancho-Gudea.css

@ -1,5 +1,5 @@
/*
TimelineJS - ver. 2.29.1 - 2014-02-03
TimelineJS - ver. 2014-02-20-16-24-17 - 2014-02-20
Copyright (c) 2012-2013 Northwestern University
a project of the Northwestern University Knight Lab, originally created by Zach Wise
https://github.com/NUKnightLab/TimelineJS

2
build/css/themes/font/SansitaOne-Kameron.css

@ -1,5 +1,5 @@
/*
TimelineJS - ver. 2.29.1 - 2014-02-03
TimelineJS - ver. 2014-02-20-16-24-17 - 2014-02-20
Copyright (c) 2012-2013 Northwestern University
a project of the Northwestern University Knight Lab, originally created by Zach Wise
https://github.com/NUKnightLab/TimelineJS

2
build/css/timeline.css

@ -1,5 +1,5 @@
/*
TimelineJS - ver. 2.29.1 - 2014-02-03
TimelineJS - ver. 2014-02-20-16-24-17 - 2014-02-20
Copyright (c) 2012-2013 Northwestern University
a project of the Northwestern University Knight Lab, originally created by Zach Wise
https://github.com/NUKnightLab/TimelineJS

2
build/js/locale/af.js

@ -1,5 +1,5 @@
/*
TimelineJS - ver. 2.29.1 - 2014-02-03
TimelineJS - ver. 2014-02-20-16-24-17 - 2014-02-20
Copyright (c) 2012-2013 Northwestern University
a project of the Northwestern University Knight Lab, originally created by Zach Wise
https://github.com/NUKnightLab/TimelineJS

2
build/js/locale/ar.js

@ -1,5 +1,5 @@
/*
TimelineJS - ver. 2.29.1 - 2014-02-03
TimelineJS - ver. 2014-02-20-16-24-17 - 2014-02-20
Copyright (c) 2012-2013 Northwestern University
a project of the Northwestern University Knight Lab, originally created by Zach Wise
https://github.com/NUKnightLab/TimelineJS

2
build/js/locale/bg.js

@ -1,5 +1,5 @@
/*
TimelineJS - ver. 2.29.1 - 2014-02-03
TimelineJS - ver. 2014-02-20-16-24-17 - 2014-02-20
Copyright (c) 2012-2013 Northwestern University
a project of the Northwestern University Knight Lab, originally created by Zach Wise
https://github.com/NUKnightLab/TimelineJS

2
build/js/locale/ca.js

@ -1,5 +1,5 @@
/*
TimelineJS - ver. 2.29.1 - 2014-02-03
TimelineJS - ver. 2014-02-20-16-24-17 - 2014-02-20
Copyright (c) 2012-2013 Northwestern University
a project of the Northwestern University Knight Lab, originally created by Zach Wise
https://github.com/NUKnightLab/TimelineJS

2
build/js/locale/cz.js

@ -1,5 +1,5 @@
/*
TimelineJS - ver. 2.29.1 - 2014-02-03
TimelineJS - ver. 2014-02-20-16-24-17 - 2014-02-20
Copyright (c) 2012-2013 Northwestern University
a project of the Northwestern University Knight Lab, originally created by Zach Wise
https://github.com/NUKnightLab/TimelineJS

2
build/js/locale/da.js

@ -1,5 +1,5 @@
/*
TimelineJS - ver. 2.29.1 - 2014-02-03
TimelineJS - ver. 2014-02-20-16-24-17 - 2014-02-20
Copyright (c) 2012-2013 Northwestern University
a project of the Northwestern University Knight Lab, originally created by Zach Wise
https://github.com/NUKnightLab/TimelineJS

2
build/js/locale/de.js

@ -1,5 +1,5 @@
/*
TimelineJS - ver. 2.29.1 - 2014-02-03
TimelineJS - ver. 2014-02-20-16-24-17 - 2014-02-20
Copyright (c) 2012-2013 Northwestern University
a project of the Northwestern University Knight Lab, originally created by Zach Wise
https://github.com/NUKnightLab/TimelineJS

2
build/js/locale/el.js

@ -1,5 +1,5 @@
/*
TimelineJS - ver. 2.29.1 - 2014-02-03
TimelineJS - ver. 2014-02-20-16-24-17 - 2014-02-20
Copyright (c) 2012-2013 Northwestern University
a project of the Northwestern University Knight Lab, originally created by Zach Wise
https://github.com/NUKnightLab/TimelineJS

2
build/js/locale/en-24hr.js

@ -1,5 +1,5 @@
/*
TimelineJS - ver. 2.29.1 - 2014-02-03
TimelineJS - ver. 2014-02-20-16-24-17 - 2014-02-20
Copyright (c) 2012-2013 Northwestern University
a project of the Northwestern University Knight Lab, originally created by Zach Wise
https://github.com/NUKnightLab/TimelineJS

2
build/js/locale/en.js

@ -1,5 +1,5 @@
/*
TimelineJS - ver. 2.29.1 - 2014-02-03
TimelineJS - ver. 2014-02-20-16-24-17 - 2014-02-20
Copyright (c) 2012-2013 Northwestern University
a project of the Northwestern University Knight Lab, originally created by Zach Wise
https://github.com/NUKnightLab/TimelineJS

2
build/js/locale/eo.js

@ -1,5 +1,5 @@
/*
TimelineJS - ver. 2.29.1 - 2014-02-03
TimelineJS - ver. 2014-02-20-16-24-17 - 2014-02-20
Copyright (c) 2012-2013 Northwestern University
a project of the Northwestern University Knight Lab, originally created by Zach Wise
https://github.com/NUKnightLab/TimelineJS

2
build/js/locale/es.js

@ -1,5 +1,5 @@
/*
TimelineJS - ver. 2.29.1 - 2014-02-03
TimelineJS - ver. 2014-02-20-16-24-17 - 2014-02-20
Copyright (c) 2012-2013 Northwestern University
a project of the Northwestern University Knight Lab, originally created by Zach Wise
https://github.com/NUKnightLab/TimelineJS

2
build/js/locale/et.js

@ -1,5 +1,5 @@
/*
TimelineJS - ver. 2.29.1 - 2014-02-03
TimelineJS - ver. 2014-02-20-16-24-17 - 2014-02-20
Copyright (c) 2012-2013 Northwestern University
a project of the Northwestern University Knight Lab, originally created by Zach Wise
https://github.com/NUKnightLab/TimelineJS

2
build/js/locale/eu.js

@ -1,5 +1,5 @@
/*
TimelineJS - ver. 2.29.1 - 2014-02-03
TimelineJS - ver. 2014-02-20-16-24-17 - 2014-02-20
Copyright (c) 2012-2013 Northwestern University
a project of the Northwestern University Knight Lab, originally created by Zach Wise
https://github.com/NUKnightLab/TimelineJS

2
build/js/locale/fa.js

@ -1,5 +1,5 @@
/*
TimelineJS - ver. 2.29.1 - 2014-02-03
TimelineJS - ver. 2014-02-20-16-24-17 - 2014-02-20
Copyright (c) 2012-2013 Northwestern University
a project of the Northwestern University Knight Lab, originally created by Zach Wise
https://github.com/NUKnightLab/TimelineJS

2
build/js/locale/fi.js

@ -1,5 +1,5 @@
/*
TimelineJS - ver. 2.29.1 - 2014-02-03
TimelineJS - ver. 2014-02-20-16-24-17 - 2014-02-20
Copyright (c) 2012-2013 Northwestern University
a project of the Northwestern University Knight Lab, originally created by Zach Wise
https://github.com/NUKnightLab/TimelineJS

2
build/js/locale/fo.js

@ -1,5 +1,5 @@
/*
TimelineJS - ver. 2.29.1 - 2014-02-03
TimelineJS - ver. 2014-02-20-16-24-17 - 2014-02-20
Copyright (c) 2012-2013 Northwestern University
a project of the Northwestern University Knight Lab, originally created by Zach Wise
https://github.com/NUKnightLab/TimelineJS

2
build/js/locale/fr.js

@ -1,5 +1,5 @@
/*
TimelineJS - ver. 2.29.1 - 2014-02-03
TimelineJS - ver. 2014-02-20-16-24-17 - 2014-02-20
Copyright (c) 2012-2013 Northwestern University
a project of the Northwestern University Knight Lab, originally created by Zach Wise
https://github.com/NUKnightLab/TimelineJS

2
build/js/locale/gl.js

@ -1,5 +1,5 @@
/*
TimelineJS - ver. 2.29.1 - 2014-02-03
TimelineJS - ver. 2014-02-20-16-24-17 - 2014-02-20
Copyright (c) 2012-2013 Northwestern University
a project of the Northwestern University Knight Lab, originally created by Zach Wise
https://github.com/NUKnightLab/TimelineJS

2
build/js/locale/he.js

@ -1,5 +1,5 @@
/*
TimelineJS - ver. 2.29.1 - 2014-02-03
TimelineJS - ver. 2014-02-20-16-24-17 - 2014-02-20
Copyright (c) 2012-2013 Northwestern University
a project of the Northwestern University Knight Lab, originally created by Zach Wise
https://github.com/NUKnightLab/TimelineJS

2
build/js/locale/hu.js

@ -1,5 +1,5 @@
/*
TimelineJS - ver. 2.29.1 - 2014-02-03
TimelineJS - ver. 2014-02-20-16-24-17 - 2014-02-20
Copyright (c) 2012-2013 Northwestern University
a project of the Northwestern University Knight Lab, originally created by Zach Wise
https://github.com/NUKnightLab/TimelineJS

2
build/js/locale/hy.js

@ -1,5 +1,5 @@
/*
TimelineJS - ver. 2.29.1 - 2014-02-03
TimelineJS - ver. 2014-02-20-16-24-17 - 2014-02-20
Copyright (c) 2012-2013 Northwestern University
a project of the Northwestern University Knight Lab, originally created by Zach Wise
https://github.com/NUKnightLab/TimelineJS

2
build/js/locale/id.js

@ -1,5 +1,5 @@
/*
TimelineJS - ver. 2.29.1 - 2014-02-03
TimelineJS - ver. 2014-02-20-16-24-17 - 2014-02-20
Copyright (c) 2012-2013 Northwestern University
a project of the Northwestern University Knight Lab, originally created by Zach Wise
https://github.com/NUKnightLab/TimelineJS

2
build/js/locale/is.js

@ -1,5 +1,5 @@
/*
TimelineJS - ver. 2.29.1 - 2014-02-03
TimelineJS - ver. 2014-02-20-16-24-17 - 2014-02-20
Copyright (c) 2012-2013 Northwestern University
a project of the Northwestern University Knight Lab, originally created by Zach Wise
https://github.com/NUKnightLab/TimelineJS

2
build/js/locale/it.js

@ -1,5 +1,5 @@
/*
TimelineJS - ver. 2.29.1 - 2014-02-03
TimelineJS - ver. 2014-02-20-16-24-17 - 2014-02-20
Copyright (c) 2012-2013 Northwestern University
a project of the Northwestern University Knight Lab, originally created by Zach Wise
https://github.com/NUKnightLab/TimelineJS

2
build/js/locale/iw.js

@ -1,5 +1,5 @@
/*
TimelineJS - ver. 2.29.1 - 2014-02-03
TimelineJS - ver. 2014-02-20-16-24-17 - 2014-02-20
Copyright (c) 2012-2013 Northwestern University
a project of the Northwestern University Knight Lab, originally created by Zach Wise
https://github.com/NUKnightLab/TimelineJS

2
build/js/locale/ja.js

@ -1,5 +1,5 @@
/*
TimelineJS - ver. 2.29.1 - 2014-02-03
TimelineJS - ver. 2014-02-20-16-24-17 - 2014-02-20
Copyright (c) 2012-2013 Northwestern University
a project of the Northwestern University Knight Lab, originally created by Zach Wise
https://github.com/NUKnightLab/TimelineJS

2
build/js/locale/ka.js

@ -1,5 +1,5 @@
/*
TimelineJS - ver. 2.29.1 - 2014-02-03
TimelineJS - ver. 2014-02-20-16-24-17 - 2014-02-20
Copyright (c) 2012-2013 Northwestern University
a project of the Northwestern University Knight Lab, originally created by Zach Wise
https://github.com/NUKnightLab/TimelineJS

2
build/js/locale/ko.js

@ -1,5 +1,5 @@
/*
TimelineJS - ver. 2.29.1 - 2014-02-03
TimelineJS - ver. 2014-02-20-16-24-17 - 2014-02-20
Copyright (c) 2012-2013 Northwestern University
a project of the Northwestern University Knight Lab, originally created by Zach Wise
https://github.com/NUKnightLab/TimelineJS

2
build/js/locale/lb.js

@ -1,5 +1,5 @@
/*
TimelineJS - ver. 2.29.1 - 2014-02-03
TimelineJS - ver. 2014-02-20-16-24-17 - 2014-02-20
Copyright (c) 2012-2013 Northwestern University
a project of the Northwestern University Knight Lab, originally created by Zach Wise
https://github.com/NUKnightLab/TimelineJS

2
build/js/locale/lt.js

@ -1,5 +1,5 @@
/*
TimelineJS - ver. 2.29.1 - 2014-02-03
TimelineJS - ver. 2014-02-20-16-24-17 - 2014-02-20
Copyright (c) 2012-2013 Northwestern University
a project of the Northwestern University Knight Lab, originally created by Zach Wise
https://github.com/NUKnightLab/TimelineJS

2
build/js/locale/lv.js

@ -1,5 +1,5 @@
/*
TimelineJS - ver. 2.29.1 - 2014-02-03
TimelineJS - ver. 2014-02-20-16-24-17 - 2014-02-20
Copyright (c) 2012-2013 Northwestern University
a project of the Northwestern University Knight Lab, originally created by Zach Wise
https://github.com/NUKnightLab/TimelineJS

2
build/js/locale/ms.js

@ -1,5 +1,5 @@
/*
TimelineJS - ver. 2.29.1 - 2014-02-03
TimelineJS - ver. 2014-02-20-16-24-17 - 2014-02-20
Copyright (c) 2012-2013 Northwestern University
a project of the Northwestern University Knight Lab, originally created by Zach Wise
https://github.com/NUKnightLab/TimelineJS

2
build/js/locale/ne.js

@ -1,5 +1,5 @@
/*
TimelineJS - ver. 2.29.1 - 2014-02-03
TimelineJS - ver. 2014-02-20-16-24-17 - 2014-02-20
Copyright (c) 2012-2013 Northwestern University
a project of the Northwestern University Knight Lab, originally created by Zach Wise
https://github.com/NUKnightLab/TimelineJS

2
build/js/locale/nl.js

@ -1,5 +1,5 @@
/*
TimelineJS - ver. 2.29.1 - 2014-02-03
TimelineJS - ver. 2014-02-20-16-24-17 - 2014-02-20
Copyright (c) 2012-2013 Northwestern University
a project of the Northwestern University Knight Lab, originally created by Zach Wise
https://github.com/NUKnightLab/TimelineJS

2
build/js/locale/no.js

@ -1,5 +1,5 @@
/*
TimelineJS - ver. 2.29.1 - 2014-02-03
TimelineJS - ver. 2014-02-20-16-24-17 - 2014-02-20
Copyright (c) 2012-2013 Northwestern University
a project of the Northwestern University Knight Lab, originally created by Zach Wise
https://github.com/NUKnightLab/TimelineJS

2
build/js/locale/pl.js

@ -1,5 +1,5 @@
/*
TimelineJS - ver. 2.29.1 - 2014-02-03
TimelineJS - ver. 2014-02-20-16-24-17 - 2014-02-20
Copyright (c) 2012-2013 Northwestern University
a project of the Northwestern University Knight Lab, originally created by Zach Wise
https://github.com/NUKnightLab/TimelineJS

2
build/js/locale/pt-br.js

@ -1,5 +1,5 @@
/*
TimelineJS - ver. 2.29.1 - 2014-02-03
TimelineJS - ver. 2014-02-20-16-24-17 - 2014-02-20
Copyright (c) 2012-2013 Northwestern University
a project of the Northwestern University Knight Lab, originally created by Zach Wise
https://github.com/NUKnightLab/TimelineJS

2
build/js/locale/pt.js

@ -1,5 +1,5 @@
/*
TimelineJS - ver. 2.29.1 - 2014-02-03
TimelineJS - ver. 2014-02-20-16-24-17 - 2014-02-20
Copyright (c) 2012-2013 Northwestern University
a project of the Northwestern University Knight Lab, originally created by Zach Wise
https://github.com/NUKnightLab/TimelineJS

2
build/js/locale/rm.js

@ -1,5 +1,5 @@
/*
TimelineJS - ver. 2.29.1 - 2014-02-03
TimelineJS - ver. 2014-02-20-16-24-17 - 2014-02-20
Copyright (c) 2012-2013 Northwestern University
a project of the Northwestern University Knight Lab, originally created by Zach Wise
https://github.com/NUKnightLab/TimelineJS

2
build/js/locale/ru.js

@ -1,5 +1,5 @@
/*
TimelineJS - ver. 2.29.1 - 2014-02-03
TimelineJS - ver. 2014-02-20-16-24-17 - 2014-02-20
Copyright (c) 2012-2013 Northwestern University
a project of the Northwestern University Knight Lab, originally created by Zach Wise
https://github.com/NUKnightLab/TimelineJS

2
build/js/locale/si.js

@ -1,5 +1,5 @@
/*
TimelineJS - ver. 2.29.1 - 2014-02-03
TimelineJS - ver. 2014-02-20-16-24-17 - 2014-02-20
Copyright (c) 2012-2013 Northwestern University
a project of the Northwestern University Knight Lab, originally created by Zach Wise
https://github.com/NUKnightLab/TimelineJS

2
build/js/locale/sk.js

@ -1,5 +1,5 @@
/*
TimelineJS - ver. 2.29.1 - 2014-02-03
TimelineJS - ver. 2014-02-20-16-24-17 - 2014-02-20
Copyright (c) 2012-2013 Northwestern University
a project of the Northwestern University Knight Lab, originally created by Zach Wise
https://github.com/NUKnightLab/TimelineJS

2
build/js/locale/sl.js

@ -1,5 +1,5 @@
/*
TimelineJS - ver. 2.29.1 - 2014-02-03
TimelineJS - ver. 2014-02-20-16-24-17 - 2014-02-20
Copyright (c) 2012-2013 Northwestern University
a project of the Northwestern University Knight Lab, originally created by Zach Wise
https://github.com/NUKnightLab/TimelineJS

2
build/js/locale/sr-cy.js

@ -1,5 +1,5 @@
/*
TimelineJS - ver. 2.29.1 - 2014-02-03
TimelineJS - ver. 2014-02-20-16-24-17 - 2014-02-20
Copyright (c) 2012-2013 Northwestern University
a project of the Northwestern University Knight Lab, originally created by Zach Wise
https://github.com/NUKnightLab/TimelineJS

2
build/js/locale/sr.js

@ -1,5 +1,5 @@
/*
TimelineJS - ver. 2.29.1 - 2014-02-03
TimelineJS - ver. 2014-02-20-16-24-17 - 2014-02-20
Copyright (c) 2012-2013 Northwestern University
a project of the Northwestern University Knight Lab, originally created by Zach Wise
https://github.com/NUKnightLab/TimelineJS

2
build/js/locale/sv.js

@ -1,5 +1,5 @@
/*
TimelineJS - ver. 2.29.1 - 2014-02-03
TimelineJS - ver. 2014-02-20-16-24-17 - 2014-02-20
Copyright (c) 2012-2013 Northwestern University
a project of the Northwestern University Knight Lab, originally created by Zach Wise
https://github.com/NUKnightLab/TimelineJS

2
build/js/locale/ta.js

@ -1,5 +1,5 @@
/*
TimelineJS - ver. 2.29.1 - 2014-02-03
TimelineJS - ver. 2014-02-20-16-24-17 - 2014-02-20
Copyright (c) 2012-2013 Northwestern University
a project of the Northwestern University Knight Lab, originally created by Zach Wise
https://github.com/NUKnightLab/TimelineJS

2
build/js/locale/te.js

@ -1,5 +1,5 @@
/*
TimelineJS - ver. 2.29.1 - 2014-02-03
TimelineJS - ver. 2014-02-20-16-24-17 - 2014-02-20
Copyright (c) 2012-2013 Northwestern University
a project of the Northwestern University Knight Lab, originally created by Zach Wise
https://github.com/NUKnightLab/TimelineJS

2
build/js/locale/tl.js

@ -1,5 +1,5 @@
/*
TimelineJS - ver. 2.29.1 - 2014-02-03
TimelineJS - ver. 2014-02-20-16-24-17 - 2014-02-20
Copyright (c) 2012-2013 Northwestern University
a project of the Northwestern University Knight Lab, originally created by Zach Wise
https://github.com/NUKnightLab/TimelineJS

2
build/js/locale/tr.js

@ -1,5 +1,5 @@
/*
TimelineJS - ver. 2.29.1 - 2014-02-03
TimelineJS - ver. 2014-02-20-16-24-17 - 2014-02-20
Copyright (c) 2012-2013 Northwestern University
a project of the Northwestern University Knight Lab, originally created by Zach Wise
https://github.com/NUKnightLab/TimelineJS

2
build/js/locale/zh-cn.js

@ -1,5 +1,5 @@
/*
TimelineJS - ver. 2.29.1 - 2014-02-03
TimelineJS - ver. 2014-02-20-16-24-17 - 2014-02-20
Copyright (c) 2012-2013 Northwestern University
a project of the Northwestern University Knight Lab, originally created by Zach Wise
https://github.com/NUKnightLab/TimelineJS

2
build/js/locale/zh-tw.js

@ -1,5 +1,5 @@
/*
TimelineJS - ver. 2.29.1 - 2014-02-03
TimelineJS - ver. 2014-02-20-16-24-17 - 2014-02-20
Copyright (c) 2012-2013 Northwestern University
a project of the Northwestern University Knight Lab, originally created by Zach Wise
https://github.com/NUKnightLab/TimelineJS

2
build/js/storyjs-embed-cdn.js

@ -1,5 +1,5 @@
/*
TimelineJS - ver. 2.29.1 - 2014-02-03
TimelineJS - ver. 2014-02-20-16-24-17 - 2014-02-20
Copyright (c) 2012-2013 Northwestern University
a project of the Northwestern University Knight Lab, originally created by Zach Wise
https://github.com/NUKnightLab/TimelineJS

2
build/js/storyjs-embed-generator.js

@ -1,5 +1,5 @@
/*
TimelineJS - ver. 2.29.1 - 2014-02-03
TimelineJS - ver. 2014-02-20-16-24-17 - 2014-02-20
Copyright (c) 2012-2013 Northwestern University
a project of the Northwestern University Knight Lab, originally created by Zach Wise
https://github.com/NUKnightLab/TimelineJS

2
build/js/storyjs-embed.js

@ -1,5 +1,5 @@
/*
TimelineJS - ver. 2.29.1 - 2014-02-03
TimelineJS - ver. 2014-02-20-16-24-17 - 2014-02-20
Copyright (c) 2012-2013 Northwestern University
a project of the Northwestern University Knight Lab, originally created by Zach Wise
https://github.com/NUKnightLab/TimelineJS

12
build/js/timeline-min.js vendored

File diff suppressed because one or more lines are too long

33
build/js/timeline.js

@ -1,5 +1,5 @@
/*
TimelineJS - ver. 2.29.1 - 2014-02-03
TimelineJS - ver. 2014-02-20-16-24-17 - 2014-02-20
Copyright (c) 2012-2013 Northwestern University
a project of the Northwestern University Knight Lab, originally created by Zach Wise
https://github.com/NUKnightLab/TimelineJS
@ -340,15 +340,6 @@ function trace( msg ) {
}
}
/* Array Remove - By John Resig (MIT Licensed)
http://ejohn.org/blog/javascript-array-remove/
================================================== */
Array.prototype.remove = function(from, to) {
var rest = this.slice((to || from) + 1 || this.length);
this.length = from < 0 ? this.length + from : from;
return this.push.apply(this, rest);
}
/* Extending Date to include Week
================================================== */
Date.prototype.getWeek = function() {
@ -1776,6 +1767,12 @@ if(typeof VMM != 'undefined' && typeof VMM.Util == 'undefined') {
return this;
},
removeRange: function(array, from, to) { // rather than change Array.prototype; Thanks Jeff McWhirter for nudge
var rest = array.slice((to || from) + 1 || array.length);
array.length = from < 0 ? array.length + from : from;
return array.push.apply(array, rest);
},
/* * CORRECT PROTOCOL (DOES NOT WORK)
================================================== */
correctProtocol: function(url) {
@ -2926,7 +2923,7 @@ if(typeof VMM != 'undefined' && typeof VMM.ExternalAPI == 'undefined') {
pushQue: function() {
if (VMM.master_config.twitter.que.length > 0) {
VMM.ExternalAPI.twitter.create(VMM.master_config.twitter.que[0], VMM.ExternalAPI.twitter.pushQue);
VMM.master_config.twitter.que.remove(0);
VMM.Util.removeRange(VMM.master_config.twitter.que,0);
}
},
@ -3830,7 +3827,7 @@ if(typeof VMM != 'undefined' && typeof VMM.ExternalAPI == 'undefined') {
pushQue: function() {
if (VMM.master_config.googleplus.que.length > 0) {
VMM.ExternalAPI.googleplus.create(VMM.master_config.googleplus.que[0], VMM.ExternalAPI.googleplus.pushQue);
VMM.master_config.googleplus.que.remove(0);
VMM.Util.removeRange(VMM.master_config.googleplus.que,0);
}
/*
for(var i = 0; i < VMM.master_config.googleplus.que.length; i++) {
@ -3937,7 +3934,7 @@ if(typeof VMM != 'undefined' && typeof VMM.ExternalAPI == 'undefined') {
pushQue: function() {
if (VMM.master_config.flickr.que.length > 0) {
VMM.ExternalAPI.flickr.create(VMM.master_config.flickr.que[0], VMM.ExternalAPI.flickr.pushQue);
VMM.master_config.flickr.que.remove(0);
VMM.Util.removeRange(VMM.master_config.flickr.que,0);
}
},
@ -4028,7 +4025,7 @@ if(typeof VMM != 'undefined' && typeof VMM.ExternalAPI == 'undefined') {
pushQue: function() {
if (VMM.master_config.soundcloud.que.length > 0) {
VMM.ExternalAPI.soundcloud.create(VMM.master_config.soundcloud.que[0], VMM.ExternalAPI.soundcloud.pushQue);
VMM.master_config.soundcloud.que.remove(0);
VMM.Util.removeRange(VMM.master_config.soundcloud.que,0);
}
}
@ -4120,7 +4117,7 @@ if(typeof VMM != 'undefined' && typeof VMM.ExternalAPI == 'undefined') {
if (VMM.master_config.wikipedia.que.length > 0) {
trace("WIKIPEDIA PUSH QUE " + VMM.master_config.wikipedia.que.length);
VMM.ExternalAPI.wikipedia.create(VMM.master_config.wikipedia.que[0], VMM.ExternalAPI.wikipedia.pushQue);
VMM.master_config.wikipedia.que.remove(0);
VMM.Util.removeRange(VMM.master_config.wikipedia.que,0);
}
}
@ -4290,7 +4287,7 @@ if(typeof VMM != 'undefined' && typeof VMM.ExternalAPI == 'undefined') {
pushQue: function() {
if (VMM.master_config.vimeo.que.length > 0) {
VMM.ExternalAPI.vimeo.create(VMM.master_config.vimeo.que[0], VMM.ExternalAPI.vimeo.pushQue);
VMM.master_config.vimeo.que.remove(0);
VMM.Util.removeRange(VMM.master_config.vimeo.que,0);
}
}
@ -4319,7 +4316,7 @@ if(typeof VMM != 'undefined' && typeof VMM.ExternalAPI == 'undefined') {
pushQue: function() {
if (VMM.master_config.vine.que.length > 0) {
VMM.ExternalAPI.vine.create(VMM.master_config.vine.que[0], VMM.ExternalAPI.vine.pushQue);
VMM.master_config.vine.que.remove(0);
VMM.Util.removeRange(VMM.master_config.vine.que,0);
}
}
@ -8448,7 +8445,7 @@ if(typeof VMM.Timeline != 'undefined' && typeof VMM.Timeline.TimeNav == 'undefin
pos_cache_obj.row = row;
pos_cache_array.push(pos_cache_obj);
if (pos_cache_array.length > pos_cache_max) {
pos_cache_array.remove(0);
VMM.Util.removeRange(pos_cache_array,0);
}
//if (is_animated && is_in_view) {

6
source/js/Core/Core/VMM.Util.js

@ -8,6 +8,12 @@ if(typeof VMM != 'undefined' && typeof VMM.Util == 'undefined') {
return this;
},
removeRange: function(array, from, to) { // rather than change Array.prototype; Thanks Jeff McWhirter for nudge
var rest = array.slice((to || from) + 1 || array.length);
array.length = from < 0 ? array.length + from : from;
return array.push.apply(array, rest);
},
/* * CORRECT PROTOCOL (DOES NOT WORK)
================================================== */
correctProtocol: function(url) {

9
source/js/Core/Core/VMM.js

@ -327,15 +327,6 @@ function trace( msg ) {
}
}
/* Array Remove - By John Resig (MIT Licensed)
http://ejohn.org/blog/javascript-array-remove/
================================================== */
Array.prototype.remove = function(from, to) {
var rest = this.slice((to || from) + 1 || this.length);
this.length = from < 0 ? this.length + from : from;
return this.push.apply(this, rest);
}
/* Extending Date to include Week
================================================== */
Date.prototype.getWeek = function() {

14
source/js/Core/Media/VMM.ExternalAPI.js

@ -160,7 +160,7 @@ if(typeof VMM != 'undefined' && typeof VMM.ExternalAPI == 'undefined') {
pushQue: function() {
if (VMM.master_config.twitter.que.length > 0) {
VMM.ExternalAPI.twitter.create(VMM.master_config.twitter.que[0], VMM.ExternalAPI.twitter.pushQue);
VMM.master_config.twitter.que.remove(0);
VMM.Util.removeRange(VMM.master_config.twitter.que,0);
}
},
@ -1064,7 +1064,7 @@ if(typeof VMM != 'undefined' && typeof VMM.ExternalAPI == 'undefined') {
pushQue: function() {
if (VMM.master_config.googleplus.que.length > 0) {
VMM.ExternalAPI.googleplus.create(VMM.master_config.googleplus.que[0], VMM.ExternalAPI.googleplus.pushQue);
VMM.master_config.googleplus.que.remove(0);
VMM.Util.removeRange(VMM.master_config.googleplus.que,0);
}
/*
for(var i = 0; i < VMM.master_config.googleplus.que.length; i++) {
@ -1171,7 +1171,7 @@ if(typeof VMM != 'undefined' && typeof VMM.ExternalAPI == 'undefined') {
pushQue: function() {
if (VMM.master_config.flickr.que.length > 0) {
VMM.ExternalAPI.flickr.create(VMM.master_config.flickr.que[0], VMM.ExternalAPI.flickr.pushQue);
VMM.master_config.flickr.que.remove(0);
VMM.Util.removeRange(VMM.master_config.flickr.que,0);
}
},
@ -1262,7 +1262,7 @@ if(typeof VMM != 'undefined' && typeof VMM.ExternalAPI == 'undefined') {
pushQue: function() {
if (VMM.master_config.soundcloud.que.length > 0) {
VMM.ExternalAPI.soundcloud.create(VMM.master_config.soundcloud.que[0], VMM.ExternalAPI.soundcloud.pushQue);
VMM.master_config.soundcloud.que.remove(0);
VMM.Util.removeRange(VMM.master_config.soundcloud.que,0);
}
}
@ -1354,7 +1354,7 @@ if(typeof VMM != 'undefined' && typeof VMM.ExternalAPI == 'undefined') {
if (VMM.master_config.wikipedia.que.length > 0) {
trace("WIKIPEDIA PUSH QUE " + VMM.master_config.wikipedia.que.length);
VMM.ExternalAPI.wikipedia.create(VMM.master_config.wikipedia.que[0], VMM.ExternalAPI.wikipedia.pushQue);
VMM.master_config.wikipedia.que.remove(0);
VMM.Util.removeRange(VMM.master_config.wikipedia.que,0);
}
}
@ -1524,7 +1524,7 @@ if(typeof VMM != 'undefined' && typeof VMM.ExternalAPI == 'undefined') {
pushQue: function() {
if (VMM.master_config.vimeo.que.length > 0) {
VMM.ExternalAPI.vimeo.create(VMM.master_config.vimeo.que[0], VMM.ExternalAPI.vimeo.pushQue);
VMM.master_config.vimeo.que.remove(0);
VMM.Util.removeRange(VMM.master_config.vimeo.que,0);
}
}
@ -1553,7 +1553,7 @@ if(typeof VMM != 'undefined' && typeof VMM.ExternalAPI == 'undefined') {
pushQue: function() {
if (VMM.master_config.vine.que.length > 0) {
VMM.ExternalAPI.vine.create(VMM.master_config.vine.que[0], VMM.ExternalAPI.vine.pushQue);
VMM.master_config.vine.que.remove(0);
VMM.Util.removeRange(VMM.master_config.vine.que,0);
}
}

2
source/js/VMM.Timeline.TimeNav.js

@ -816,7 +816,7 @@ if(typeof VMM.Timeline != 'undefined' && typeof VMM.Timeline.TimeNav == 'undefin
pos_cache_obj.row = row;
pos_cache_array.push(pos_cache_obj);
if (pos_cache_array.length > pos_cache_max) {
pos_cache_array.remove(0);
VMM.Util.removeRange(pos_cache_array,0);
}
//if (is_animated && is_in_view) {

Loading…
Cancel
Save