apostrophe
Advanced tools
Comparing version 0.4.120 to 0.4.121
{ | ||
"name": "apostrophe", | ||
"version": "0.4.120", | ||
"version": "0.4.121", | ||
"description": "Apostrophe is a user-friendly content management system. This core module of Apostrophe provides rich content editing and essential facilities to integrate Apostrophe into your Express project. Apostrophe also includes simple facilities for storing your rich content areas in MongoDB and fetching them back again. Additional functionality is available in modules like apostrophe-pages, apostrophe-snippets, apostrophe-blog, apostrophe-events, apostrophe-twitter and apostrophe-rss.", | ||
@@ -66,2 +66,2 @@ "main": "./lib/apostrophe.js", | ||
"license": "MIT" | ||
} | ||
} |
/* global rangy, $, _ */ | ||
/* global alert, prompt, apos */ | ||
// @class An editor for Apostrophe areas. Integrates rich content editing with the editing | ||
// of multimedia widgets such as slideshows and videos, with mixed success. We're moving toward | ||
// a new implementation, and beginning by factoring this one out so its interface can be | ||
// seen clearly. | ||
// | ||
// Constructing the editor is a two-step process: | ||
// | ||
// 1. var editor = new AposEditor(options); | ||
// 2. editor.init() | ||
// | ||
// This makes it significantly easier to override methods when subclassing | ||
// the editor. | ||
/** | ||
* @class An editor for Apostrophe areas. Integrates rich content editing with the editing | ||
* of multimedia widgets such as slideshows and videos, with mixed success. We're moving toward | ||
* a new implementation, and beginning by factoring this one out so its interface can be | ||
* seen clearly. | ||
* | ||
* Constructing the editor is a two-step process: | ||
* | ||
* var editor = new AposEditor(options); | ||
* editor.init() | ||
* | ||
* This makes it significantly easier to override methods when subclassing | ||
* the editor. | ||
*/ | ||
window.AposEditor = function(options) { | ||
function AposEditor(options) { | ||
var self = this; | ||
@@ -202,3 +204,3 @@ var styleMenu; | ||
// We need to be able to do this to every sing widget preview quickly when | ||
// We need to be able to do this to every single widget preview quickly when | ||
// the edit view starts up | ||
@@ -205,0 +207,0 @@ |
3651169
214
33123