Completed
Push — master ( 1f89ca...fd92ed )
by Lukas
12s
created

build/build.js (2 issues)

Upgrade to new PHP Analysis Engine

These results are based on our legacy PHP analysis, consider migrating to our new PHP analysis engine instead. Learn more

1
/**
2
 * Mail
3
 *
4
 * This file is licensed under the Affero General Public License version 3 or
5
 * later. See the COPYING file.
6
 *
7
 * @author Christoph Wurst <[email protected]>
8
 * @copyright Christoph Wurst 2015
9
 */
10
11
({
12
	baseUrl: '../js',
13
	mainConfigFile: '../js/require_config.js',
14
	name: 'app',
15
	out: '../js/mail.min.js',
16
	insertRequire: [
17
		'app',
18
		'notification'
19
	]
20
})
0 ignored issues
show
Did you forget to assign or call a function?

This error message can for example pop up if you forget to assign the result of a function call to a variable or pass it to another function:

function someFunction(x) {
    (x > 0) ? callFoo() : callBar();
}

// JSHint expects you to assign the result to a variable:
function someFunction(x) {
    var rs = (x > 0) ? callFoo() : callBar();
}

// If you do not use the result, you could also use if statements in the
// case above.
function someFunction(x) {
    if (x > 0) {
        callFoo();
    } else {
        callBar();
    }
}
Loading history...
There should be a semicolon.

Requirement of semicolons purely is a coding style issue since JavaScript has specific rules about semicolons which are followed by all browsers.

Further Readings:

Loading history...
21