mirror of
https://github.com/balena-io/etcher.git
synced 2025-07-19 17:26:34 +00:00
refactor: improve analytics and image-writer module names (#524)
- From `Etcher.analytics` to `Etcher.Modules.Analytics`. - From `Etcher.image-writer` to `Etcher.Modules.ImageWriter`. Signed-off-by: Juan Cruz Viotti <jviottidc@gmail.com>
This commit is contained in:
parent
c291a9067d
commit
ff8e16b4ac
@ -17,7 +17,7 @@
|
|||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @module Etcher.analytics
|
* @module Etcher.Modules.Analytics
|
||||||
*/
|
*/
|
||||||
|
|
||||||
const _ = require('lodash');
|
const _ = require('lodash');
|
||||||
@ -32,7 +32,7 @@ window.MIXPANEL_CUSTOM_LIB_URL = '../../bower_components/mixpanel/mixpanel.js';
|
|||||||
|
|
||||||
require('../../../bower_components/mixpanel/mixpanel-jslib-snippet.js');
|
require('../../../bower_components/mixpanel/mixpanel-jslib-snippet.js');
|
||||||
require('../../../bower_components/angular-mixpanel/src/angular-mixpanel');
|
require('../../../bower_components/angular-mixpanel/src/angular-mixpanel');
|
||||||
const MODULE_NAME = 'Etcher.analytics';
|
const MODULE_NAME = 'Etcher.Modules.Analytics';
|
||||||
const analytics = angular.module(MODULE_NAME, [
|
const analytics = angular.module(MODULE_NAME, [
|
||||||
'analytics.mixpanel',
|
'analytics.mixpanel',
|
||||||
require('../models/settings')
|
require('../models/settings')
|
||||||
|
@ -17,14 +17,14 @@
|
|||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @module Etcher.image-writer
|
* @module Etcher.Modules.ImageWriter
|
||||||
*/
|
*/
|
||||||
|
|
||||||
const angular = require('angular');
|
const angular = require('angular');
|
||||||
const Store = require('../models/store');
|
const Store = require('../models/store');
|
||||||
const childWriter = require('../../src/child-writer');
|
const childWriter = require('../../src/child-writer');
|
||||||
|
|
||||||
const MODULE_NAME = 'Etcher.image-writer';
|
const MODULE_NAME = 'Etcher.Modules.ImageWriter';
|
||||||
const imageWriter = angular.module(MODULE_NAME, [
|
const imageWriter = angular.module(MODULE_NAME, [
|
||||||
require('../models/settings')
|
require('../models/settings')
|
||||||
]);
|
]);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user