mirror of
https://github.com/thelounge/thelounge
synced 2024-11-23 04:23:13 +00:00
Added debug mode
This commit is contained in:
parent
2e36414b26
commit
6d06e7020e
6 changed files with 26 additions and 6 deletions
|
@ -1,5 +1,5 @@
|
||||||
module.exports = function(grunt) {
|
module.exports = function(grunt) {
|
||||||
var libs = "client/js/libs/**/*.js";
|
var libs = "client/js/**/*.js";
|
||||||
grunt.initConfig({
|
grunt.initConfig({
|
||||||
watch: {
|
watch: {
|
||||||
files: libs,
|
files: libs,
|
||||||
|
@ -11,7 +11,7 @@ module.exports = function(grunt) {
|
||||||
},
|
},
|
||||||
js: {
|
js: {
|
||||||
files: {
|
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>
|
</script>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script src="js/libs.min.js"></script>
|
<% if (debug) { %>
|
||||||
<script src="js/chat.js"></script>
|
<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>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
{
|
{
|
||||||
|
"debug": false,
|
||||||
"port": 9000,
|
"port": 9000,
|
||||||
"theme": "themes/example.css",
|
"theme": "themes/example.css",
|
||||||
"public": true
|
"public": true
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"name": "shout",
|
"name": "shout",
|
||||||
"description": "A web IRC client",
|
"description": "A web IRC client",
|
||||||
"version": "0.10.9",
|
"version": "0.11.0",
|
||||||
"author": "Mattias Erming",
|
"author": "Mattias Erming",
|
||||||
"preferGlobal": true,
|
"preferGlobal": true,
|
||||||
"bin": {
|
"bin": {
|
||||||
|
|
Loading…
Reference in a new issue