1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2025-07-30 04:23:11 +03:00

Updated page pointer to sit near mouse location and extracted page js into browserify bundle

This commit is contained in:
Dan Brown
2015-12-30 20:48:57 +00:00
parent cca3533d35
commit a592eaeb91
5 changed files with 90 additions and 65 deletions

View File

@ -1,8 +1,4 @@
// Configure ZeroClipboard
window.ZeroClipboard = require('zeroclipboard');
window.ZeroClipboard.config({
swfPath: '/ZeroClipboard.swf'
});
// AngularJS - Create application and load components
var angular = require('angular');
@ -59,4 +55,7 @@ function elemExists(selector) {
if (elemExists('#html-editor')) {
var tinyMceOptions = require('./pages/page-form');
tinymce.init(tinyMceOptions);
}
}
// Page specific items
require('./pages/page-show');