... | ... | @@ -45,16 +45,17 @@ Writ tests in `test/test.js` file then run: |
|
|
* [manageBehaviors](manageBehaviors) - inits and manages page data-behaviors on initial load and on page update
|
|
|
* [messages](messages) - Growl like messages
|
|
|
* [objectifyForm](objectifyForm) - Generates a JS Object out of a form
|
|
|
|
|
|
* [oritentationChangeFix](oritentationChangeFix) - Stopping iOS devices scaling up when rotating from portrait to landscape
|
|
|
* [purgeProperties](purgeProperties) - Removes all properties from an object
|
|
|
* queryStringHandler
|
|
|
* [toObject](queryStringHandler-toObject) - Takes the passed URL, or the current browser URL and returns an object of query string parameters
|
|
|
* [fromObject](queryStringHandler-fromObject) - Takes an object and turns it into a query string
|
|
|
* [updateParameter](queryStringHandler-updateParameter) - Updates a specified url parameter to a new value
|
|
|
* [resized](resized) - What to do on document resize, also checks if current media query has changed
|
|
|
* [setFocusOnTarget](setFocusOnTarget) - Sets focus on target node
|
|
|
* [scrollToY](scrollToY) - Animated scroll to position
|
|
|
* [sentEventToSegmentio](sentEventToSegmentio) - Tracks site wide requests for analytics events. Catches events before segment.io is ready, stores them and tries them again when it is ready. Follows conventions from segment.io: https://segment.com/docs/libraries/analytics.js/#selecting-integrations Checks a meta tag on init for identifying the user
|
|
|
* [triggerCustomEvent](triggerCustomEvent) - Triggers a custom event *NB: if using a library you might not need this*
|
|
|
* [turnObjectToQueryString](turnObjectToQueryString) - Takes an object and turns it into a query string
|
|
|
* [turnQueryStringToObject](turnQueryStringToObject) - Takes the passed url, or the current browser url and returns an object of query string parameters
|
|
|
* [updateParameter](updateParameter) - Updates a specified url parameter to a new value
|
|
|
* [setFocusOnTarget](setFocusOnTarget) - Sets focus on target node
|
|
|
* [triggerCustomEvent](triggerCustomEvent) - Triggers a custom event
|
|
|
|
|
|
## Developing
|
|
|
|
... | ... | |