Added debug mode
This commit is contained in:
parent
2e36414b26
commit
6d06e7020e
@ -1,5 +1,5 @@
|
||||
module.exports = function(grunt) {
|
||||
var libs = "client/js/libs/**/*.js";
|
||||
var libs = "client/js/**/*.js";
|
||||
grunt.initConfig({
|
||||
watch: {
|
||||
files: libs,
|
||||
@ -11,7 +11,7 @@ module.exports = function(grunt) {
|
||||
},
|
||||
js: {
|
||||
files: {
|
||||
"client/js/libs.min.js": libs
|
||||
"client/dist/build.js": libs
|
||||
}
|
||||
}
|
||||
}
|
||||
|
2
client/js/libs.min.js → client/dist/build.js
vendored
2
client/js/libs.min.js → client/dist/build.js
vendored
File diff suppressed because one or more lines are too long
@ -234,8 +234,27 @@
|
||||
</script>
|
||||
</div>
|
||||
|
||||
<script src="js/libs.min.js"></script>
|
||||
<script src="js/chat.js"></script>
|
||||
<% if (debug) { %>
|
||||
<script src="js/libs/favico.js"></script>
|
||||
<script src="js/libs/handlebars.js"></script>
|
||||
<script src="js/libs/handlebars/equal.js"></script>
|
||||
<script src="js/libs/handlebars/tz.js"></script>
|
||||
<script src="js/libs/handlebars/uri.js"></script>
|
||||
<script src="js/libs/jquery.js"></script>
|
||||
<script src="js/libs/jquery/bootstrap.js"></script>
|
||||
<script src="js/libs/jquery/cookie.js"></script>
|
||||
<script src="js/libs/jquery/inputhistory.js"></script>
|
||||
<script src="js/libs/jquery/mousetrap.js"></script>
|
||||
<script src="js/libs/jquery/stickyscroll.js"></script>
|
||||
<script src="js/libs/jquery/tabcomplete.js"></script>
|
||||
<script src="js/libs/moment.js"></script>
|
||||
<script src="js/libs/socket.io.js"></script>
|
||||
<script src="js/libs/string.contains.js"></script>
|
||||
<script src="js/libs/uri.js"></script>
|
||||
<script src="js/shout.js"></script>
|
||||
<% } else { %>
|
||||
<script src="dist/build.js"></script>
|
||||
<% } %>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
@ -1,4 +1,5 @@
|
||||
{
|
||||
"debug": false,
|
||||
"port": 9000,
|
||||
"theme": "themes/example.css",
|
||||
"public": true
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "shout",
|
||||
"description": "A web IRC client",
|
||||
"version": "0.10.9",
|
||||
"version": "0.11.0",
|
||||
"author": "Mattias Erming",
|
||||
"preferGlobal": true,
|
||||
"bin": {
|
||||
|
Loading…
Reference in New Issue
Block a user