GithubHelp home page GithubHelp logo

oberto / decade_city.js Goto Github PK

View Code? Open in Web Editor NEW

This project forked from decadecity/decade_city.js

0.0 2.0 0.0 739 KB

Module system for functionality used on decadecity.net

License: The Unlicense

JavaScript 92.40% CSS 2.18% HTML 5.43%

decade_city.js's Introduction

decade_city.js

AMD module system for functionality used on decadecity.net

Getting Started

Include these modules in your build.

Modules may expose the following methods that should be run on the relevant browser events:

  • ready() - DOM ready.
  • load() - Page Load.
  • defer() - After page load.
  • resize() - Browser resize.
  • scroll() - Page scroll.

Modules

  • accessibility - Enhancements hooks for keyboard navigation.
  • cookies - Library for dealing with cookies.
  • images - Conditional loading of images based on screen size.
  • namespaced_attributes - Library for working with namespaced data attributes.
  • profile - Browser capability profiling.
  • sessionStorage - Facade for session storage API.
  • speed_test - Estimate connection speed.
  • timing - RUM data collection.

Cutting the mustard requirements

'classList' and 'dataset' in document.documentElement
'querySelectorAll' in document
'addEventListner' and 'removeEventListner' in window
window.XMLHttpRequest
window.innerWidth
window.innerHeight
JSON
Array.forEach

Release history

  • 2015-03-09   v1.1.2   Added test coverage and cleaned up internal syntax.
  • 2015-03-09   v1.1.0   Added first paint to timing.
  • 2014-10-30   v1.0.1   Images bugfix.
  • 2014-10-20   v1.0.0   Moved to AMD modules.
  • 2014-03-11   v0.2.0   Removed jQuery dependency (also: messed up versioning).
  • 2013-06-02   v0.2.0   Built against jQuery v2.
  • 2012-12-13   v0.1.1   Removed initialisation from library.
  • 2012-12-13   v0.1.0   Versioned.
  • 2012-12-12   v0.0.0   Initial import to Git.

decade_city.js's People

Contributors

decadecity avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.