Skip to content

Commit

Permalink
Strict mode all the things.
Browse files Browse the repository at this point in the history
  • Loading branch information
pluma committed Apr 8, 2015
1 parent e8ba1a1 commit 69e63c2
Show file tree
Hide file tree
Showing 510 changed files with 3,001 additions and 3,619 deletions.
2 changes: 2 additions & 0 deletions js/.jshintrc
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,12 @@
"eqeqeq": true,
"forin": true,
"freeze": true,
"globalstrict": true,
"immed": true,
"laxbreak": true,
"newcap": true,
"noarg": true,
"node": true,
"noempty": true,
"nonbsp": true,
"nonew": true,
Expand Down
1 change: 0 additions & 1 deletion js/actions/_admin/app.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/*jshint strict: false */
/*global require */

////////////////////////////////////////////////////////////////////////////////
/// @brief administration actions
Expand Down
1 change: 0 additions & 1 deletion js/actions/_admin/database/app.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/*jshint strict: false */
/*global require */

////////////////////////////////////////////////////////////////////////////////
/// @brief administration actions
Expand Down
1 change: 0 additions & 1 deletion js/actions/_admin/routing/app.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/*jshint strict: false */
/*global require */

////////////////////////////////////////////////////////////////////////////////
/// @brief administration actions
Expand Down
2 changes: 1 addition & 1 deletion js/actions/_admin/server/app.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*jshint strict: false */
/*global require, ArangoServerState */
/*global ArangoServerState */

////////////////////////////////////////////////////////////////////////////////
/// @brief administration actions
Expand Down
1 change: 0 additions & 1 deletion js/actions/_admin/wal/app.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/*jshint strict: false */
/*global require */

////////////////////////////////////////////////////////////////////////////////
/// @brief administration actions
Expand Down
1 change: 0 additions & 1 deletion js/actions/_api/collection/app.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/*jshint strict: false */
/*global require */

////////////////////////////////////////////////////////////////////////////////
/// @brief querying and managing collections
Expand Down
1 change: 0 additions & 1 deletion js/actions/_api/foxx/app.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/*jshint strict: false */
/*global require */

////////////////////////////////////////////////////////////////////////////////
/// @brief foxx administration actions
Expand Down
1 change: 0 additions & 1 deletion js/actions/_api/user/app.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/*jshint strict: false */
/*global require */

////////////////////////////////////////////////////////////////////////////////
/// @brief user management
Expand Down
1 change: 0 additions & 1 deletion js/actions/api-aqlfunction.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/*jshint strict: false */
/*global require */

////////////////////////////////////////////////////////////////////////////////
/// @brief AQL user functions management
Expand Down
2 changes: 1 addition & 1 deletion js/actions/api-cluster.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*jshint strict: false, unused: false */
/*global require, AQL_EXECUTE, SYS_CLUSTER_TEST, UPGRADE_ARGS: true,
/*global AQL_EXECUTE, SYS_CLUSTER_TEST, UPGRADE_ARGS: true,
ArangoServerState, ArangoClusterComm, ArangoClusterInfo */

////////////////////////////////////////////////////////////////////////////////
Expand Down
1 change: 0 additions & 1 deletion js/actions/api-configuration.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/*jshint strict: false */
/*global require */

////////////////////////////////////////////////////////////////////////////////
/// @brief global configuration
Expand Down
2 changes: 1 addition & 1 deletion js/actions/api-database.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*jshint strict: false */
/*global require, ArangoAgency */
/*global ArangoAgency */

////////////////////////////////////////////////////////////////////////////////
/// @brief database management
Expand Down
1 change: 0 additions & 1 deletion js/actions/api-edges.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/*jshint strict: false */
/*global require */

////////////////////////////////////////////////////////////////////////////////
/// @brief managing edges
Expand Down
1 change: 0 additions & 1 deletion js/actions/api-endpoint.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/*jshint strict: false */
/*global require */

////////////////////////////////////////////////////////////////////////////////
/// @brief endpoint management
Expand Down
2 changes: 1 addition & 1 deletion js/actions/api-explain.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*jshint strict: false */
/*global require, AQL_EXPLAIN */
/*global AQL_EXPLAIN */

////////////////////////////////////////////////////////////////////////////////
/// @brief query explain actions
Expand Down
2 changes: 1 addition & 1 deletion js/actions/api-graph.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*jshint strict: false */
/*global require, AQL_EXECUTE */
/*global AQL_EXECUTE */

////////////////////////////////////////////////////////////////////////////////
/// @brief graph api
Expand Down
1 change: 0 additions & 1 deletion js/actions/api-index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/*jshint strict: false */
/*global require */

////////////////////////////////////////////////////////////////////////////////
/// @brief querying and managing indexes
Expand Down
1 change: 0 additions & 1 deletion js/actions/api-open.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/*jshint strict: false */
/*global require */

////////////////////////////////////////////////////////////////////////////////
/// @brief open actions
Expand Down
2 changes: 1 addition & 1 deletion js/actions/api-simple.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*jshint strict: false */
/*global require, CREATE_CURSOR */
/*global CREATE_CURSOR */

////////////////////////////////////////////////////////////////////////////////
/// @brief simple queries
Expand Down
1 change: 0 additions & 1 deletion js/actions/api-structure.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/*jshint strict: false */
/*global require */

////////////////////////////////////////////////////////////////////////////////
/// @brief querying and managing structures
Expand Down
1 change: 0 additions & 1 deletion js/actions/api-system.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/*jshint strict: false */
/*global require */

////////////////////////////////////////////////////////////////////////////////
/// @brief administration actions
Expand Down
1 change: 0 additions & 1 deletion js/actions/api-tasks.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/*jshint strict: false */
/*global require */

////////////////////////////////////////////////////////////////////////////////
/// @brief querying and managing collections
Expand Down
2 changes: 1 addition & 1 deletion js/actions/api-transaction.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*jshint strict: false */
/*global require, TRANSACTION */
/*global TRANSACTION */

////////////////////////////////////////////////////////////////////////////////
/// @brief transaction actions
Expand Down
1 change: 0 additions & 1 deletion js/actions/api-traversal.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/*jshint strict: false */
/*global require */

////////////////////////////////////////////////////////////////////////////////
/// @brief traversal actions
Expand Down
2 changes: 1 addition & 1 deletion js/apps/system/_admin/aardvark/APP/aardvark.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*jshint globalstrict: true */
/*global require, applicationContext*/
/*global applicationContext*/

////////////////////////////////////////////////////////////////////////////////
/// @brief A Foxx.Controller to show all Foxx Applications
Expand Down
2 changes: 1 addition & 1 deletion js/apps/system/_admin/aardvark/APP/cluster.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*global require, applicationContext*/
/*global applicationContext*/

////////////////////////////////////////////////////////////////////////////////
/// @brief A Foxx.Controller to show all Foxx Applications
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -602,7 +602,7 @@ return returnVal;
});
}());

/*global require, exports, Backbone, window */
/*global Backbone, window */
window.ClusterStatisticsCollection = Backbone.Collection.extend({
model: window.Statistics,

Expand Down Expand Up @@ -1256,15 +1256,15 @@ window.StatisticsDescription = Backbone.Model.extend({

/*jshint browser: true */
/*jshint unused: false */
/*global require, exports, Backbone, window */
/*global Backbone, window */
window.StatisticsCollection = Backbone.Collection.extend({
model: window.Statistics,
url: "/_admin/statistics"
});

/*jshint browser: true */
/*jshint unused: false */
/*global require, exports, window, Backbone, arangoDocumentModel, _, arangoHelper, $*/
/*global window, Backbone, arangoDocumentModel, _, arangoHelper, $*/
(function() {
"use strict";

Expand Down Expand Up @@ -1727,7 +1727,7 @@ window.StatisticsCollection = Backbone.Collection.extend({

/*jshint browser: true */
/*jshint unused: false */
/*global require, exports, Backbone, EJS, $, flush, window, arangoHelper, nv, d3, localStorage*/
/*global Backbone, EJS, $, flush, window, arangoHelper, nv, d3, localStorage*/
/*global document, console, Dygraph, _,templateEngine */

(function () {
Expand Down Expand Up @@ -2902,7 +2902,7 @@ window.StatisticsCollection = Backbone.Collection.extend({
});
}());

/*global require, _, Dygraph, window, document */
/*global _, Dygraph, window, document */

(function () {
"use strict";
Expand Down Expand Up @@ -3196,7 +3196,7 @@ window.StatisticsCollection = Backbone.Collection.extend({

/*jshint browser: true */
/*jshint strict: false, unused: false */
/*global require, exports, Backbone, window */
/*global Backbone, window */
window.StatisticsDescriptionCollection = Backbone.Collection.extend({
model: window.StatisticsDescription,
url: "/_admin/statistics-description",
Expand Down Expand Up @@ -3383,7 +3383,7 @@ window.StatisticsDescriptionCollection = Backbone.Collection.extend({
});
}());

/*global require, exports, Backbone, EJS, $, flush, window, arangoHelper, nv, d3, localStorage*/
/*global Backbone, EJS, $, flush, window, arangoHelper, nv, d3, localStorage*/
/*global document, Dygraph, _,templateEngine */

(function() {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*global require, exports, Backbone, window */
/*global Backbone, window */
window.ClusterStatisticsCollection = Backbone.Collection.extend({
model: window.Statistics,

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*global require, exports, Backbone, EJS, $, flush, window, arangoHelper, nv, d3, localStorage*/
/*global Backbone, EJS, $, flush, window, arangoHelper, nv, d3, localStorage*/
/*global document, Dygraph, _,templateEngine */

(function() {
Expand Down
2 changes: 1 addition & 1 deletion js/apps/system/_admin/aardvark/APP/foxxTemplates.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*global require, applicationContext*/
/*global applicationContext*/

////////////////////////////////////////////////////////////////////////////////
/// @brief A Foxx.Controller to generate new FoxxApps
Expand Down
2 changes: 1 addition & 1 deletion js/apps/system/_admin/aardvark/APP/foxxes.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*global require, applicationContext */
/*global applicationContext */

////////////////////////////////////////////////////////////////////////////////
/// @brief A Foxx.Controller to show all Foxx Applications
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
/*jshint maxlen: 240 */
/*global require */

////////////////////////////////////////////////////////////////////////////////
/// @brief auto-generated file generated from errors.dat
////////////////////////////////////////////////////////////////////////////////

(function () {
"use strict";
'use strict';
var internal = require("internal");

internal.errors = {
Expand Down
Loading

0 comments on commit 69e63c2

Please sign in to comment.