0.0.8 • Published 10 years ago

simple-loader v0.0.8

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

Load javascript file into context

it can be used as a javascript include, because sometimes my files get bigger and i don't want to code in module exports just to split them.

usage

var include=require("simple-loader")(global);
include("test/resources/included.js");

this differs from require as the included script can modify local environment. so, use it just to split your own long files.

simple-loader injects console and require to the included script.

0.0.8

10 years ago

0.0.7

10 years ago

0.0.6

10 years ago

0.0.5

10 years ago

0.0.4

10 years ago

0.0.3

10 years ago

0.0.2

10 years ago

0.0.1

10 years ago

0.0.0

10 years ago