Skip to content

Commit

Permalink
Adding jslint headers
Browse files Browse the repository at this point in the history
  • Loading branch information
fitzgen committed Mar 27, 2011
1 parent 742964b commit 2017570
Show file tree
Hide file tree
Showing 7 changed files with 43 additions and 1 deletion.
6 changes: 6 additions & 0 deletions apply.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
6 changes: 6 additions & 0 deletions client.js
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
6 changes: 6 additions & 0 deletions errors.js
Original file line number Diff line number Diff line change
@@ -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 = {};
Expand Down
6 changes: 6 additions & 0 deletions messages.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
6 changes: 6 additions & 0 deletions operations.js
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
8 changes: 7 additions & 1 deletion ot.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 () {}

Expand Down
6 changes: 6 additions & 0 deletions xform.js
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 2017570

Please sign in to comment.