1.1.19 • Published 9 years ago

signalsjs v1.1.19

Weekly downloads
1
License
ISC
Repository
-
Last release
9 years ago

npm install signalsjs

Function Reference

find(selector) chainable

animate() chainable easing

ajax()

Class Helpers

hasClass(class)

addClass(class) chainable

removeClass(class) chainable

swapClass(removeClass, addClass) chainable

toggleClass(class) chainable

String Helpers

capitalize(log) chainable

Boolean helpers

isWidthLessThan(width)

isTouchDevice()

isElementInViewport()

Event Helpers

addListeners(ev, func, useCapture) chainable

noReturn(e)

Element Helpers

getPosition()

getTransitionDuration()

Changelog

March 27th 2015 v1.1.17 => v1.1.19

  • Fixed a bug with the find method which was causing the el property to be set to an array instead of null if certain types of selectors were used and their items not found.

March 19th 2015 v1.1.13 => v1.1.17

  • If selecting an element that doesn't exist, Sjs(obj).el will be equal to null instead of none or an empty nodeList
  • added a toggleClass method as submitted by Sam Hoult. Only supports one element for now, could be extended to support multiple

February 4th 2015 v1.1.11 => v1.1.13

  • Add'ed Uglified file & Uglify command

February 4th 2015 v1.1.9 => v1.1.11

  • intigrated easing & requestAnimationFrame polyfill into file so eliminate the need for extra files

February 3th 2015 v1.1.3 => v1.1.9

  • Formatting and getting everything setup in NPM

January 26th 2015 v1.1.2 => v1.1.3

  • Replaced .trim() in removeClass with a regex for ie8 compatibility

January 15th 2015 v1.1.1 => v1.1.2

  • Added commonjs support with AMD / Native environments as the backup

January 14th 2015 v1.1.0 => v1.1.1

  • Altered addClass, removeClass, capitalize & getPosition functions to not modify this.el and instead create a scoped copy for processing. This fixes a bug that chances SignalsJs.el down the logic chain when running multiple functions over the same instance. getPosition had a while loop removed, not sure why it was there in the first place.

Uglify Command

uglifyjs Signals.js -m -c sequences=true,dead_code=true,conditionals=true,booleans=true,unused=true,if_return=true,join_vars=true,drop_console=true -o Signals.min.js

1.1.19

9 years ago

1.1.18

9 years ago

1.1.17

9 years ago

1.1.16

9 years ago

1.1.15

9 years ago

1.1.14

9 years ago

1.1.13

9 years ago

1.1.12

9 years ago

1.1.11

9 years ago

1.1.10

9 years ago

1.1.9

9 years ago

1.1.8

9 years ago

1.1.7

9 years ago

1.1.6

9 years ago

1.1.5

9 years ago

1.1.4

9 years ago

1.1.3

9 years ago