Commit graph

17 commits

Author SHA1 Message Date
walterhiggins
f9f60f7702 Merge branch 'requireCacheAccess' of https://github.com/MrVoltz/ScriptCraft into MrVoltz-requireCacheAccess 2016-01-02 11:57:04 +00:00
Martin P
ef04a62c54 Allow access to module cache through require.cache and require.resolve 2016-01-01 17:43:27 +01:00
Martin P
a0b46b0975 Fixed: Allow loading json using require() 2016-01-01 17:35:33 +01:00
walterhiggins
badf8b5470 Undoing merge of PR #278 2016-01-01 12:55:53 +00:00
MrVoltz
7b309dba16 Allow loading json using require() 2015-11-18 15:50:52 +01:00
walterhiggins
4a1c1b7b01 Provide more helpful errors when trying to require non-existent modules 2015-05-31 16:44:42 +01:00
walterhiggins
19162c3688 First phase of transition from Bukkit to Canary.
Some of the plugins are not yet supported.
If you're feeling brave you can build from source using ant.
2014-09-29 23:42:41 +01:00
walterhiggins
d59b0682de added comment to leave semicolon off of last line. 2014-03-15 18:21:20 +00:00
walterhiggins
b7352ed962 Show correct lineNumber in require() errors on Nashorn (JRE8) 2014-03-13 22:49:03 +00:00
walterhiggins
fce28567e6 Make error messages more concise (don't repeat file name) 2014-03-13 22:11:01 +00:00
Jason Kohles
45217a0953 Make error messages from require() more useful 2014-03-13 14:18:45 -04:00
Jason Kohles
5bec691575 Fix require() to work with index.js 2014-03-13 12:10:51 -04:00
walterhiggins
8453525da6 Improvements to classroom.js module (added players/ directory into which players can drop their custom scripts when classroom.allowScripting(true) is called. 2014-02-10 20:55:32 +00:00
walterhiggins
f1925efd87 added syntax-highlighting to code samples 2014-02-04 21:36:00 +00:00
walterhiggins
7ab34980e4 fix issue #113 2014-01-29 20:11:47 +00:00
walterhiggins
7457cd58b8 Changed formatting to use idiomatic style. (like glasses-mode in emacs) 2014-01-29 19:49:15 +00:00
walterhiggins
7a7767c83c Added logging of errors during plugin autoload. 2014-01-25 09:04:16 +00:00
Renamed from src/main/javascript/lib/require.js (Browse further)