Sort "require" calls by variable names and group them

This makes things consistent and reduces thinking about "require"
ordering.
redux
David Majda 8 years ago
parent c134e06229
commit 60821bb80b

@ -2,8 +2,8 @@
/* eslint-env browser, jquery */
let benchmarks = require("./benchmarks.js");
let Runner = require("./runner.js");
let benchmarks = require("./benchmarks.js");
$("#run").click(() => {
// Results Table Manipulation

@ -5,10 +5,9 @@
/* eslint-env node */
/* eslint no-console: 0*/
let fs = require("fs");
let benchmarks = require("./benchmarks.js");
let Runner = require("./runner.js");
let benchmarks = require("./benchmarks.js");
let fs = require("fs");
// Results Table Manipulation

@ -9,11 +9,11 @@
// and the benchmark get passed through Babel & Browserify before they are
// served to the browser.
let babelify = require("babelify");
let browserify = require("browserify");
let express = require("express");
let logger = require("morgan");
let glob = require("glob");
let browserify = require("browserify");
let babelify = require("babelify");
let logger = require("morgan");
let app = express();

@ -1,9 +1,9 @@
"use strict";
let asts = require("../asts");
let visitor = require("../visitor");
let op = require("../opcodes");
let js = require("../js");
let op = require("../opcodes");
let visitor = require("../visitor");
// Generates bytecode.
//

@ -1,8 +1,8 @@
"use strict";
let asts = require("../asts");
let op = require("../opcodes");
let js = require("../js");
let op = require("../opcodes");
// Generates parser JavaScript code.
function generateJS(ast, options) {

@ -9,11 +9,11 @@
// the specs get passed through Babel & Browserify before they are served to the
// browser.
let babelify = require("babelify");
let browserify = require("browserify");
let express = require("express");
let logger = require("morgan");
let glob = require("glob");
let browserify = require("browserify");
let babelify = require("babelify");
let logger = require("morgan");
let app = express();

Loading…
Cancel
Save