mirror of
https://github.com/embarklabs/embark.git
synced 2025-01-11 06:16:01 +00:00
dot notation preferred
This commit is contained in:
parent
b003a30b3b
commit
83f3e1c5ee
@ -9,7 +9,7 @@ var ServicesMonitor = require('./services.js');
|
||||
var Pipeline = require('../pipeline/pipeline.js');
|
||||
var Server = require('../pipeline/server.js');
|
||||
var Watch = require('../pipeline/watch.js');
|
||||
var version = require('../../package.json')['version'];
|
||||
var version = require('../../package.json').version;
|
||||
|
||||
var Engine = function(options) {
|
||||
this.env = options.env;
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
var blessed = require("blessed");
|
||||
var CommandHistory = require('./command_history.js');
|
||||
var version = require('../../package.json')['version'];
|
||||
var version = require('../../package.json').version;
|
||||
|
||||
function Dashboard(options) {
|
||||
var title = (options && options.title) || "Embark " + version;
|
||||
|
@ -22,7 +22,7 @@ var IPFS = require('./upload/ipfs.js');
|
||||
var Swarm = require('./upload/swarm.js');
|
||||
|
||||
var Cmd = require('./cmd.js');
|
||||
var version = require('../package.json')['version'];
|
||||
var version = require('../package.json').version;
|
||||
|
||||
var Embark = {
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
var Console = require('../lib/dashboard/console.js');
|
||||
var Plugins = require('../lib/core/plugins.js');
|
||||
var assert = require('assert');
|
||||
var version = require('../package.json')['version'];
|
||||
var version = require('../package.json').version;
|
||||
|
||||
describe('embark.Console', function() {
|
||||
var plugins = new Plugins({plugins: {}});
|
||||
|
Loading…
x
Reference in New Issue
Block a user