0.0.8 • Published 8 years ago

simple-loader v0.0.8

Weekly downloads
4
License
MIT
Repository
github
Last release
8 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

8 years ago

0.0.7

8 years ago

0.0.6

8 years ago

0.0.5

8 years ago

0.0.4

9 years ago

0.0.3

9 years ago

0.0.2

9 years ago

0.0.1

9 years ago

0.0.0

9 years ago