Skip to content
Browse files

Adding jslint headers

  • Loading branch information...
1 parent 742964b commit 20175703789efd6922f0fd45d903f2692971f34b @fitzgen fitzgen committed
Showing with 43 additions and 1 deletion.
  1. +6 −0 apply.js
  2. +6 −0 client.js
  3. +6 −0 errors.js
  4. +6 −0 messages.js
  5. +6 −0 operations.js
  6. +7 −1 ot.js
  7. +6 −0 xform.js
View
6 apply.js
@@ -2,6 +2,12 @@
// document, to that document. The resulting document is returned.
+/*jslint onevar: true, undef: true, eqeqeq: true, bitwise: true,
+ newcap: true, immed: true, nomen: false, white: false, plusplus: false,
+ laxbreak: true */
+
+/*global define */
+
define(["./operations"], function (operations) {
return function (ops, doc) {
var i,
View
6 client.js
@@ -10,6 +10,12 @@
// changes so long as they provide the functions required in the ui parameter.
+/*jslint onevar: true, undef: true, eqeqeq: true, bitwise: true,
+ newcap: true, immed: true, nomen: false, white: false, plusplus: false,
+ laxbreak: true */
+
+/*global define, setTimeout */
+
define([
"./apply",
"./xform",
View
6 errors.js
@@ -1,6 +1,12 @@
// This module provides all of the custom errors defined by this library.
+/*jslint onevar: true, undef: true, eqeqeq: true, bitwise: true,
+ newcap: true, immed: true, nomen: false, white: false, plusplus: false,
+ laxbreak: true */
+
+/*global define, setTimeout */
+
define(["util"], function (util) {
var exports = {};
View
6 messages.js
@@ -4,6 +4,12 @@
// and using messages.
+/*jslint onevar: true, undef: true, eqeqeq: true, bitwise: true,
+ newcap: true, immed: true, nomen: false, white: false, plusplus: false,
+ laxbreak: true */
+
+/*global define */
+
define(function () {
function defineGetSet (prop) {
View
6 operations.js
@@ -3,6 +3,12 @@
// to change some document A in to document B.
+/*jslint onevar: true, undef: true, eqeqeq: true, bitwise: true,
+ newcap: true, immed: true, nomen: false, white: false, plusplus: false,
+ laxbreak: true */
+
+/*global define */
+
define(function () {
// Simple operation constructors.
View
8 ot.js
@@ -7,7 +7,13 @@
// of new updates and which operations have been applied to the master document.
-define(['events'], function (events) {
+/*jslint onevar: true, undef: true, eqeqeq: true, bitwise: true,
+ newcap: true, immed: true, nomen: false, white: false, plusplus: false,
+ laxbreak: true */
+
+/*global define */
+
+define(['events', './messages', './apply'], function (events, messages, apply) {
function nop () {}
View
6 xform.js
@@ -1,6 +1,12 @@
// This module defines the `xform` function which is at the heart of OT.
+/*jslint onevar: true, undef: true, eqeqeq: true, bitwise: true,
+ newcap: true, immed: true, nomen: false, white: false, plusplus: false,
+ laxbreak: true */
+
+/*global define */
+
define(["./operations"], function (ops) {
// Pattern match on two operations by looking up their transforming function

0 comments on commit 2017570

Please sign in to comment.
Something went wrong with that request. Please try again.