Consistent empty bracket style.

This commit is contained in:
John-David Dalton
2014-07-28 09:33:24 -07:00
parent 55c83d17e1
commit 7a7f12504b
8 changed files with 187 additions and 152 deletions

View File

@@ -69,7 +69,7 @@
// is the applet permitted?
if (!/[?&]nojava=true(?:&|$)/.test(location.search)) {
// is the applet really needed?
while (!(measured = new Date - begin)) { }
while (!(measured = new Date - begin)) {}
if (measured != 1 && !((perfNow = window.performance) && typeof (perfNow.now || perfNow.webkitNow) == 'function')) {
// load applet
document.write('<applet code="nano" archive="../vendor/benchmark.js/nano.jar"></applet>');
@@ -79,4 +79,4 @@
}());
</script>
</body>
</html>
</html>

View File

@@ -43,11 +43,11 @@
if (!amd) {
try {
result = require('fs').realpathSync(result);
} catch(e) { }
} catch(e) {}
try {
result = require.resolve(result);
} catch(e) { }
} catch(e) {}
}
return result;
}());