0.1.3 • Published 10 years ago

reddi v0.1.3

Weekly downloads
16
License
MIT
Repository
github
Last release
10 years ago

reddi

A tiny, UMD script that executes code when the DOM is ready

Usage

Global

reddi(function () {
  // This code will execute only once the DOM has loaded
});

CommonJS

var reddi = require('reddi');
reddi(function () {
  // This code will execute only once the DOM has loaded
});

AMD

define(['reddi'], function (reddi) {
  reddi(function () {
    // This code will execute only once the DOM has loaded
  });
});
0.1.3

10 years ago

0.1.2

10 years ago

0.1.1

10 years ago

0.1.0

10 years ago

0.0.4

10 years ago

0.0.2

10 years ago