mirror of
https://github.com/balena-io/etcher.git
synced 2025-04-24 07:17:18 +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';
|
||||
|
||||
/**
|
||||
* @module Etcher.analytics
|
||||
* @module Etcher.Modules.Analytics
|
||||
*/
|
||||
|
||||
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/angular-mixpanel/src/angular-mixpanel');
|
||||
const MODULE_NAME = 'Etcher.analytics';
|
||||
const MODULE_NAME = 'Etcher.Modules.Analytics';
|
||||
const analytics = angular.module(MODULE_NAME, [
|
||||
'analytics.mixpanel',
|
||||
require('../models/settings')
|
||||
|
@ -17,14 +17,14 @@
|
||||
'use strict';
|
||||
|
||||
/**
|
||||
* @module Etcher.image-writer
|
||||
* @module Etcher.Modules.ImageWriter
|
||||
*/
|
||||
|
||||
const angular = require('angular');
|
||||
const Store = require('../models/store');
|
||||
const childWriter = require('../../src/child-writer');
|
||||
|
||||
const MODULE_NAME = 'Etcher.image-writer';
|
||||
const MODULE_NAME = 'Etcher.Modules.ImageWriter';
|
||||
const imageWriter = angular.module(MODULE_NAME, [
|
||||
require('../models/settings')
|
||||
]);
|
||||
|
Loading…
x
Reference in New Issue
Block a user