Skip to content

Commit

Permalink
Add use strict to the places missing it
Browse files Browse the repository at this point in the history
  • Loading branch information
axic committed Oct 25, 2016
1 parent 3a67bba commit f7267db
Show file tree
Hide file tree
Showing 8 changed files with 14 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ci/makeMockCompiler.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
'use strict'

var fs = require('fs')
var solc = require('solc/wrapper')
var soljson = require('../soljson')
Expand Down
2 changes: 2 additions & 0 deletions ci/sauceDisconnect.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
'use strict'

const https = require('https')

var userName = process.argv[2]
Expand Down
2 changes: 2 additions & 0 deletions src/app/example-contracts.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
'use strict'

var ballot = `pragma solidity ^0.4.0
contract Ballot {
Expand Down
2 changes: 2 additions & 0 deletions test-browser/helpers/contracts.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
'use strict'

module.exports = {
checkCompiledContracts: function (browser, compiled, callback) {
browser.execute(function () {
Expand Down
2 changes: 2 additions & 0 deletions test-browser/mockcompiler/compiler.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
'use strict'

var Module = { // eslint-disable-line
cwrap: function () { return arguments[0] === 'version' ? version : compile },
writeStringToMemory: function () {},
Expand Down
2 changes: 2 additions & 0 deletions test-browser/mockcompiler/requests.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
'use strict'

module.exports = {
'testSimpleContract': {
'sources': {
Expand Down
1 change: 1 addition & 0 deletions test-browser/tests/ballot.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
'use strict'

var testData = require('../mockcompiler/requests')
// var contractHelper = require('../helpers/contracts')

Expand Down
1 change: 1 addition & 0 deletions test-browser/tests/simpleContract.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
'use strict'

var testData = require('../mockcompiler/requests')
var contractHelper = require('../helpers/contracts')

Expand Down

0 comments on commit f7267db

Please sign in to comment.