Skip to content

Commit

Permalink
Merge pull request ember-fastboot#153 from bekzod/let-const
Browse files Browse the repository at this point in the history
`var` => `const`
  • Loading branch information
kratiahuja authored Jun 10, 2017
2 parents c5175b4 + 7359e55 commit 72b68c6
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 10 deletions.
6 changes: 3 additions & 3 deletions src/fastboot-info.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
'use strict';

var RSVP = require('rsvp');
var FastBootRequest = require('./fastboot-request');
var FastBootResponse = require('./fastboot-response');
const RSVP = require('rsvp');
const FastBootRequest = require('./fastboot-request');
const FastBootResponse = require('./fastboot-response');

/*
* A class that encapsulates information about the
Expand Down
4 changes: 2 additions & 2 deletions src/fastboot-request.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
'use strict';

var cookie = require('cookie');
var FastBootHeaders = require('./fastboot-headers');
const cookie = require('cookie');
const FastBootHeaders = require('./fastboot-headers');

class FastBootRequest {
constructor(request, hostWhitelist) {
Expand Down
2 changes: 1 addition & 1 deletion src/fastboot-response.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
'use strict';

var FastBootHeaders = require('./fastboot-headers');
const FastBootHeaders = require('./fastboot-headers');

class FastbootResponse {
constructor(response) {
Expand Down
2 changes: 1 addition & 1 deletion src/install-source-map-support.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
var sourceMapSupport = require('source-map-support');
const sourceMapSupport = require('source-map-support');

function prepareStackTrace(error, stack) {
return error + stack.map(function(frame) {
Expand Down
2 changes: 1 addition & 1 deletion src/sandbox.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
'use strict';

var chalk = require('chalk');
const chalk = require('chalk');

class Sandbox {

Expand Down
4 changes: 2 additions & 2 deletions src/vm-sandbox.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
'use strict';

var vm = require('vm');
var Sandbox = require('./sandbox');
const vm = require('vm');
const Sandbox = require('./sandbox');

class VMSandbox extends Sandbox {
constructor(options) {
Expand Down

0 comments on commit 72b68c6

Please sign in to comment.