Skip to content
This repository was archived by the owner on Mar 9, 2020. It is now read-only.

Latest commit

History

36 Commits

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

How to develop

  1. git clone https://github.com/tytskiy/Helpers.js.git
  2. npm i -g gulp
  3. npm i
  4. gulp

Usage

varhelpers=newcore.T0.Helpers();// with reset timerhelpers.wait({freq: 100,reset: 3000,check: function(){returnwindow.jQuery;},success: function(){console.log('jQuery was found')},fail: function(){console.log('jQuery wasn\'t found during 3 seconds')},always: function(){console.log('Anyway print something')}});// with reset functionhelpers.wait({freq: 100,reset: function(){return2+2>-1;},check: function(){returnwindow.Zepto;},success: function(){console.log('Zepto was found')},fail: function(){console.log('Zepto wasn\'t found')},always: function(){console.log('Anyway print something')}});

TODO:

Add more examples

About

Collection of functions for rapid campaign development.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages