This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| exports.Browser = { | |
| tests: ["closure-bug-test.js"] | |
| }; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| define([ | |
| "src/graphite/graph", | |
| "src/graphite/dictionary", | |
| "src/graphite/query", | |
| "src/graphite/utils", | |
| "src/graphite/when" | |
| ], function (Graph, Dictionary, Query, Utils, When) { | |
| buster.testCase("Graphite graph", { | |
| ... | |
| "Function .size": function (done) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| RATIONALE =<<_END | |
| The case for a maybe: | |
| We all know true and false, right? Larry Wall once said that truth should be | |
| considered evident; therefore anything in Perl is either true or false, along with | |
| anything else it may be. Truth is just an aspect. | |
| And we use it easily, with the if/else construct: | |
| if something | |
| do_something |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| tacet = { | |
| create: (function () { | |
| function F() {} | |
| return function (proto) { | |
| F.prototype = proto; | |
| return new F(); | |
| }; | |
| }), |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| TestCase("CapabilitiesTest", { | |
| setUp: function () { | |
| this.sandbox = sinon.create(sinon.sandbox()); | |
| this.sandbox.useServer(); | |
| this.server = this.sandbox.server; | |
| }, | |
| tearDown: function () { | |
| this.sandbox.restore(); | |
| }, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| def summer_monthly_usage | |
| @summer_monthly_usage ||= rates.summer_months_nbr.inject(0) { |sum, m| sum + monthly_usage[m - 1] } | |
| end |