make build script only include code/*.js - otherwise temp files can catch you out

This commit is contained in:
Jon Atkins 2013-08-12 17:30:09 +01:00
parent e1b4569f2f
commit 3bd8d1a548

View File

@ -132,7 +132,7 @@ def loaderImage(var):
return 'data:image/png;base64,{0}'.format(base64.encodestring(open(fn, 'rb').read()).decode('utf8').replace('\n', ''))
def loadCode(ignore):
return '\n\n'.join(map(readfile, glob.glob('code/*')))
return '\n\n'.join(map(readfile, glob.glob('code/*.js')))
def extractUserScriptMeta(var):