background: removing code which turned out to be unnecessary
- Chrome handles updating of the extension very well
options: slight tweak to desktop notification image
- to clarify that the image is just an example not a live demo which people appear to believe
hours: fixed a bug where hours would be 'undefined' AND a special case of hours
Opening hours would look like this:
"
- undefined
- Eksamensåpent 25. mai
- Bla bla bla
- Bla bla bla
"
affiliation: fixed fetching of news images for Primetime
palettes: made sure logging only happened when DEBUG ison
palettes: added load function and self-loading of color palette
popup: moved non-critical JS to end-of-file for noticable decrease in page load time
popup: removed palette loading from coffeescript, now done in palettes.js
- also did this change in the infoscreen coffeescript
- also did this change for mobile coffeescript
popup: added favicon because...well...just because
infoscreen: moved non-critical JS to end-of-file for noticable decrease in page load time
options: moved non-critical JS to end-of-file for noticable decrease in page load time
mobile: moved non-critical JS to end-of-file for noticable decrease in page load time
background: background was loading palettes for no reason, now removed
palettes: just added a comment
*.less: made sure news images are properly scaled
gitignore: ignore all dotfiles
*.html: moved reference to affiliation.js to start of file
affiliation: added a check for whether jQuery has been loaded or not
- affiliation.js is loaded very early on in each file because it contains
vital information needed in palettes.js, however affiliation.js has a
function called getImages which needs jQuery and Ajaxer.js. This issue
is easily solved by having getImages return placeholders if called
before any of dependencies are loaded (which should not happen anyway).
All of this is done to preserve awesome page loading speed.
*.html: added defaults.js to background/mobile and got rid of snakes
- and by snakes I of course mean got rid of a lot of snake_casing which was randomly used around in the HTML, CS, JS and Less. Now we use camelCasing instead
*.less: switched out a lot of snake_casing for camelCasing