Skip to content

Commit

Permalink
fix: remove import of global webpack var
Browse files Browse the repository at this point in the history
  • Loading branch information
Dan Ziv committed Sep 25, 2017
1 parent 717f409 commit ca0a23c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions src/storage/storage-wrapper.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
// @flow
import LoggerFactory from '../utils/logger'
import {PLAYER_NAME} from '../index'

const STORAGE_PREFIX = PLAYER_NAME + '_';
const STORAGE_PREFIX = __NAME__ + '_';

export default class StorageWrapper {
static _logger: any = LoggerFactory.getLogger('StorageWrapper');
Expand Down
3 changes: 1 addition & 2 deletions test/src/storage/storage-wrapper.spec.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import StorageWrapper from '../../../src/storage/storage-wrapper'
import {PLAYER_NAME} from '../../../src/index'

const STORAGE_PREFIX = PLAYER_NAME + '_';
const STORAGE_PREFIX = __NAME__ + '_';

describe('StorageWrapper', function () {

Expand Down

0 comments on commit ca0a23c

Please sign in to comment.