Commits

Sean Wilkinson  committed 3a159ce

Linted the tests

  • Participants
  • Parent commits d48ff43

Comments (0)

Files changed (1)

File tests/tests.js

         var mapf, x;
         mapf = '(x) -> 3 * x';
         x = [1, 2, 3, 4, 5];
-        QM.map(x, mapf, 'sean').Q(function (evt) {
+        window.QM.map(x, mapf, 'sean').Q(function (evt) {
          // This function needs documentation.
             console.log('Results:', this.val);
             return evt.exit();
         var redf, x;
         redf = '(a, b) -> a + b';
         x = [1, 2, 3, 4, 5];
-        QM.reduce(x, redf, 'sean').Q(function (evt) {
+        window.QM.reduce(x, redf, 'sean').Q(function (evt) {
          // This function needs documentation.
             console.log('Results:', this.val);
             return evt.exit();
         mapf = '(x) -> 3 * x';
         redf = '(a, b) -> a + b';
         x = [1, 2, 3, 4, 5];
-        QM.mapreduce(x, mapf, redf, 'sean').Q(function (evt) {
+        window.QM.mapreduce(x, mapf, redf, 'sean').Q(function (evt) {
          // This function needs documentation.
             console.log('Results:', this.val);
             return evt.exit();