Skip to content

Commit

Permalink
Inject CSS in browser.js, not in annotator module
Browse files Browse the repository at this point in the history
  • Loading branch information
nickstenning committed Apr 10, 2015
1 parent 56e7ff1 commit 4fdba01
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
5 changes: 5 additions & 0 deletions browser.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
"use strict";

// Inject Annotator CSS
var insertCss = require('insert-css');
var css = require('./css/annotator.css');
insertCss(css);

var annotator = require('./src/annotator');
var ui = require('./src/ui');
var storage = require('./src/storage');
Expand Down
5 changes: 0 additions & 5 deletions src/annotator.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,5 @@
"use strict";

var insertCss = require('insert-css');
var css = require('../css/annotator.css');

insertCss(css);

var authorizer = require('./authorizer');
var core = require('./core');
var identifier = require('./identifier');
Expand Down

0 comments on commit 4fdba01

Please sign in to comment.