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:
@ -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');
|
Reference in New Issue
Block a user