dotjs icon indicating copy to clipboard operation
dotjs copied to clipboard

add support for //include

Open justone opened this issue 11 years ago • 2 comments

This change adds support for including dotjs scripts. For example, given the following files:

foo.js

alert('foo');

bar.com.js

// include foo.js

Then fetching the js for bar.com would result in:

// include foo.js
alert('foo');

This sort of addresses #27.

justone avatar Sep 28 '12 18:09 justone

I like this. It's nice for including libraries since you can't use $.getScript(). +1 :)

stroborobo avatar Jan 30 '13 10:01 stroborobo

Rebased to master.

justone avatar Aug 19 '13 17:08 justone