mirror of
https://github.com/logsol/chuck.js.git
synced 2026-05-11 10:37:34 +00:00
Compile and minimize code #82
This commit is contained in:
parent
0a0b3e8849
commit
6f288f00b5
8 changed files with 210 additions and 5 deletions
|
|
@ -47,6 +47,10 @@ function (http, nodeStatic, Api) {
|
|||
fileServer.serveFile('./client.js', 200, {}, req, res);
|
||||
break;
|
||||
|
||||
case req.url == '/client.min.js':
|
||||
fileServer.serveFile('./client.min.js', 200, {}, req, res);
|
||||
break;
|
||||
|
||||
case req.url == '/require.js':
|
||||
fileServer.serveFile('./node_modules/requirejs/require.js', 200, {}, req, res);
|
||||
break;
|
||||
|
|
|
|||
2
app/Lib/Vendor/Screenfull.js
vendored
2
app/Lib/Vendor/Screenfull.js
vendored
|
|
@ -1,3 +1,3 @@
|
|||
define(["/screenfull.js"], function() {
|
||||
define(["screenfull"], function() {
|
||||
return screenfull;
|
||||
});
|
||||
2
app/Lib/Vendor/SocketIO.js
vendored
2
app/Lib/Vendor/SocketIO.js
vendored
|
|
@ -1,3 +1,3 @@
|
|||
define(["/socket.io/socket.io.js"], function() {
|
||||
define(["socketio"], function() {
|
||||
return io;
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue