-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
61 changed files
with
67,646 additions
and
10 deletions.
There are no files selected for viewing
Binary file not shown.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,169 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="utf-8"> | ||
<title>AppView - Documentation</title> | ||
|
||
<script src="scripts/prettify/prettify.js"></script> | ||
<script src="scripts/prettify/lang-css.js"></script> | ||
<!--[if lt IE 9]> | ||
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script> | ||
<![endif]--> | ||
<link type="text/css" rel="stylesheet" href="styles/prettify.css"> | ||
<link type="text/css" rel="stylesheet" href="styles/jsdoc.css"> | ||
</head> | ||
<body> | ||
|
||
<input type="checkbox" id="nav-trigger" class="nav-trigger" /> | ||
<label for="nav-trigger" class="navicon-button x"> | ||
<div class="navicon"></div> | ||
</label> | ||
|
||
<label for="nav-trigger" class="overlay"></label> | ||
|
||
<nav> | ||
<h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="View.AppView.html">AppView</a></li></ul><h3>Modules</h3><ul><li><a href="module-bootstrap_app-config.html">bootstrap/app-config</a></li><li><a href="module-bootstrap_core-config.html">bootstrap/core-config</a><ul class='methods'><li data-type='method'><a href="module-bootstrap_core-config.html#~init">init</a></li></ul></li><li><a href="module-bootstrap_dev-config.html">bootstrap/dev-config</a></li><li><a href="module-client_client-config.html">client/client-config</a></li><li><a href="module-core_plugin.html">core/plugin</a></li><li><a href="module-plugin_info_info-plugin.html">plugin/info/info-plugin</a></li><li><a href="module-plugin_info_model_info-section.html">plugin/info/model/info-section</a></li><li><a href="module-theme_aw-bubble_model_section.html">theme/aw-bubble/model/section</a></li><li><a href="module-utils_browser.html">utils/browser</a><ul class='methods'><li data-type='method'><a href="module-utils_browser.html#.url_params">url_params</a></li></ul></li><li><a href="module-utils_fn.html">utils/fn</a><ul class='methods'><li data-type='method'><a href="module-utils_fn.html#.conflate">conflate</a></li></ul></li><li><a href="module-utils_helper.html">utils/helper</a><ul class='methods'><li data-type='method'><a href="module-utils_helper.html#.blank_text">blank_text</a></li><li data-type='method'><a href="module-utils_helper.html#.format_time">format_time</a></li><li data-type='method'><a href="module-utils_helper.html#.get_indentation">get_indentation</a></li></ul></li></ul><h3>Mixins</h3><ul><li><a href="theme_aw-bubble_view_section-view-mixin.html">theme/aw-bubble/view/section-view-mixin</a></li></ul><h3>Tutorials</h3><ul><li><a href="tutorial-bootstrap.html">bootstrap</a></li></ul><h3>Global</h3><ul><li><a href="global.html#_basicStats">_basicStats</a></li><li><a href="global.html#_fileSaved">_fileSaved</a></li><li><a href="global.html#_loadSettings">_loadSettings</a></li><li><a href="global.html#_saveToCloud">_saveToCloud</a></li><li><a href="global.html#_scriptChanged">_scriptChanged</a></li><li><a href="global.html#activate">activate</a></li><li><a href="global.html#BaseSectionPresenter">BaseSectionPresenter</a></li><li><a href="global.html#control">control</a></li><li><a href="global.html#date">date</a></li><li><a href="global.html#deactivate">deactivate</a></li><li><a href="global.html#getLastVisitDate">getLastVisitDate</a></li><li><a href="global.html#getSettingGroups">getSettingGroups</a></li><li><a href="global.html#getTdWrapper">getTdWrapper</a></li><li><a href="global.html#goto">goto</a></li><li><a href="global.html#group">group</a></li><li><a href="global.html#groups">groups</a></li><li><a href="global.html#hide">hide</a></li><li><a href="global.html#lastUsedInfo">lastUsedInfo</a></li><li><a href="global.html#LastUsedInfo">LastUsedInfo</a></li><li><a href="global.html#lastUsedInfoLoaded">lastUsedInfoLoaded</a></li><li><a href="global.html#require">require</a></li><li><a href="global.html#resolve_module_name">resolve_module_name</a></li><li><a href="global.html#script">script</a></li><li><a href="global.html#show">show</a></li><li><a href="global.html#title">title</a></li><li><a href="global.html#updateSize">updateSize</a></li><li><a href="global.html#view">view</a></li><li><a href="global.html#withNewFontSize">withNewFontSize</a></li></ul> | ||
</nav> | ||
|
||
<div id="main"> | ||
|
||
<h1 class="page-title">AppView</h1> | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<section> | ||
|
||
<header> | ||
|
||
<h2> | ||
AppView | ||
</h2> | ||
|
||
|
||
</header> | ||
|
||
<article> | ||
<div class="container-overview"> | ||
|
||
|
||
|
||
|
||
|
||
<h4 class="name" id="AppView"><span class="type-signature"></span>new AppView<span class="signature">()</span><span class="type-signature"></span></h4> | ||
|
||
|
||
|
||
|
||
|
||
|
||
<dl class="details"> | ||
|
||
|
||
<dt class="tag-source">Source:</dt> | ||
<dd class="tag-source"><ul class="dummy"><li> | ||
<a href="view_app-view.js.html">view/app-view.js</a>, <a href="view_app-view.js.html#line7">line 7</a> | ||
</li></ul></dd> | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
</dl> | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
</div> | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
</article> | ||
|
||
</section> | ||
|
||
|
||
|
||
|
||
</div> | ||
|
||
<br class="clear"> | ||
|
||
<footer> | ||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.3.0-beta2</a> on Sun Mar 05 2017 19:40:19 GMT+0000 (GMT (czas standardowy)) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme. | ||
</footer> | ||
|
||
<script>prettyPrint();</script> | ||
<script src="scripts/linenumber.js"></script> | ||
</body> | ||
</html> |
135 changes: 135 additions & 0 deletions
135
docs/code/afterwriting/1.3.0/bootstrap_app-config.js.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,135 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="utf-8"> | ||
<title>bootstrap/app-config.js - Documentation</title> | ||
|
||
<script src="scripts/prettify/prettify.js"></script> | ||
<script src="scripts/prettify/lang-css.js"></script> | ||
<!--[if lt IE 9]> | ||
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script> | ||
<![endif]--> | ||
<link type="text/css" rel="stylesheet" href="styles/prettify.css"> | ||
<link type="text/css" rel="stylesheet" href="styles/jsdoc.css"> | ||
</head> | ||
<body> | ||
|
||
<input type="checkbox" id="nav-trigger" class="nav-trigger" /> | ||
<label for="nav-trigger" class="navicon-button x"> | ||
<div class="navicon"></div> | ||
</label> | ||
|
||
<label for="nav-trigger" class="overlay"></label> | ||
|
||
<nav> | ||
<h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="View.AppView.html">AppView</a></li></ul><h3>Modules</h3><ul><li><a href="module-bootstrap_app-config.html">bootstrap/app-config</a></li><li><a href="module-bootstrap_core-config.html">bootstrap/core-config</a><ul class='methods'><li data-type='method'><a href="module-bootstrap_core-config.html#~init">init</a></li></ul></li><li><a href="module-bootstrap_dev-config.html">bootstrap/dev-config</a></li><li><a href="module-client_client-config.html">client/client-config</a></li><li><a href="module-core_plugin.html">core/plugin</a></li><li><a href="module-plugin_info_info-plugin.html">plugin/info/info-plugin</a></li><li><a href="module-plugin_info_model_info-section.html">plugin/info/model/info-section</a></li><li><a href="module-theme_aw-bubble_model_section.html">theme/aw-bubble/model/section</a></li><li><a href="module-utils_browser.html">utils/browser</a><ul class='methods'><li data-type='method'><a href="module-utils_browser.html#.url_params">url_params</a></li></ul></li><li><a href="module-utils_fn.html">utils/fn</a><ul class='methods'><li data-type='method'><a href="module-utils_fn.html#.conflate">conflate</a></li></ul></li><li><a href="module-utils_helper.html">utils/helper</a><ul class='methods'><li data-type='method'><a href="module-utils_helper.html#.blank_text">blank_text</a></li><li data-type='method'><a href="module-utils_helper.html#.format_time">format_time</a></li><li data-type='method'><a href="module-utils_helper.html#.get_indentation">get_indentation</a></li></ul></li></ul><h3>Mixins</h3><ul><li><a href="theme_aw-bubble_view_section-view-mixin.html">theme/aw-bubble/view/section-view-mixin</a></li></ul><h3>Tutorials</h3><ul><li><a href="tutorial-bootstrap.html">bootstrap</a></li></ul><h3>Global</h3><ul><li><a href="global.html#_basicStats">_basicStats</a></li><li><a href="global.html#_fileSaved">_fileSaved</a></li><li><a href="global.html#_loadSettings">_loadSettings</a></li><li><a href="global.html#_saveToCloud">_saveToCloud</a></li><li><a href="global.html#_scriptChanged">_scriptChanged</a></li><li><a href="global.html#activate">activate</a></li><li><a href="global.html#BaseSectionPresenter">BaseSectionPresenter</a></li><li><a href="global.html#control">control</a></li><li><a href="global.html#date">date</a></li><li><a href="global.html#deactivate">deactivate</a></li><li><a href="global.html#getLastVisitDate">getLastVisitDate</a></li><li><a href="global.html#getSettingGroups">getSettingGroups</a></li><li><a href="global.html#getTdWrapper">getTdWrapper</a></li><li><a href="global.html#goto">goto</a></li><li><a href="global.html#group">group</a></li><li><a href="global.html#groups">groups</a></li><li><a href="global.html#hide">hide</a></li><li><a href="global.html#lastUsedInfo">lastUsedInfo</a></li><li><a href="global.html#LastUsedInfo">LastUsedInfo</a></li><li><a href="global.html#lastUsedInfoLoaded">lastUsedInfoLoaded</a></li><li><a href="global.html#require">require</a></li><li><a href="global.html#resolve_module_name">resolve_module_name</a></li><li><a href="global.html#script">script</a></li><li><a href="global.html#show">show</a></li><li><a href="global.html#title">title</a></li><li><a href="global.html#updateSize">updateSize</a></li><li><a href="global.html#view">view</a></li><li><a href="global.html#withNewFontSize">withNewFontSize</a></li></ul> | ||
</nav> | ||
|
||
<div id="main"> | ||
|
||
<h1 class="page-title">bootstrap/app-config.js</h1> | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<section> | ||
<article> | ||
<pre class="prettyprint source linenums"><code>define(function(require) { | ||
|
||
var CoreConfig = require('bootstrap/core-config'), | ||
ThemeModel = require('theme/aw-bubble/model/theme-model'), | ||
ThemeController = require('theme/aw-bubble/controller/theme-controller'), | ||
AppController = require('core/controller/app-controller'), | ||
AppModel = require('core/model/app-model'), | ||
Storage = require('core/model/storage'), | ||
GoogleAnalyticsMonitor = require('core/controller/google-analytics-monitor'), | ||
InfoPlugin = require('plugin/info/info-plugin'), | ||
IoPlugin = require('plugin/io/io-plugin'), | ||
EditorPlugin = require('plugin/editor/editor-plugin'), | ||
StatsPlugin = require('plugin/stats/stats-plugin'), | ||
SettingsPlugin = require('plugin/settings/settings-plugin'), | ||
PreviewPlugin = require('plugin/preview/preview-plugin'), | ||
MonitorPlugin = require('plugin/monitor/monitor-plugin'), | ||
ChangelogPlugin = require('plugin/changelog/changelog-plugin'), | ||
AppView = require('view/app-view'); | ||
|
||
/** | ||
* Application Config, contains Core Config + Theme + Plugins | ||
* | ||
* The order in the menu is defined by sort passed to the theme. | ||
* | ||
* @module bootstrap/app-config | ||
* @augments module:bootstrap/core-config | ||
* | ||
* @tutorial bootstrap | ||
*/ | ||
var AppConfig = CoreConfig.extend({ | ||
|
||
/** | ||
* Main view displayed when the config is loaded | ||
* | ||
* @type {View.AppView} | ||
*/ | ||
MainView: { | ||
value: AppView | ||
}, | ||
|
||
/** | ||
* Order in which sections are organised in the menu | ||
*/ | ||
sectionsOrder: ['info', 'open', 'settings', 'editor', 'save', 'preview', 'facts', 'stats'], | ||
|
||
init: function(context) { | ||
|
||
var themeModel = ThemeModel.create(); | ||
|
||
CoreConfig.init.call(this, context); | ||
|
||
context.register(themeModel); | ||
context.register(ThemeController.create()); | ||
context.register(AppController.create()); | ||
context.register('appModel', AppModel.create()); | ||
context.register('monitor', GoogleAnalyticsMonitor.create()); | ||
context.register('storage', Storage.create()); | ||
|
||
context.register(InfoPlugin.create(context)); | ||
context.register(IoPlugin.create(context)); | ||
context.register(EditorPlugin.create(context)); | ||
context.register(StatsPlugin.create(context)); | ||
context.register(SettingsPlugin.create(context)); | ||
context.register(PreviewPlugin.create(context)); | ||
context.register(MonitorPlugin.create(context)); | ||
context.register(ChangelogPlugin.create(context)); | ||
|
||
themeModel.sectionsMenu.addSort({ | ||
fn: function(a, b) { | ||
return this.sectionsOrder.indexOf(a.name) - this.sectionsOrder.indexOf(b.name); | ||
}.bind(this) | ||
}); | ||
} | ||
|
||
}); | ||
|
||
return AppConfig; | ||
});</code></pre> | ||
</article> | ||
</section> | ||
|
||
|
||
|
||
|
||
</div> | ||
|
||
<br class="clear"> | ||
|
||
<footer> | ||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.3.0-beta2</a> on Sun Mar 05 2017 19:40:18 GMT+0000 (GMT (czas standardowy)) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme. | ||
</footer> | ||
|
||
<script>prettyPrint();</script> | ||
<script src="scripts/linenumber.js"></script> | ||
</body> | ||
</html> |
87 changes: 87 additions & 0 deletions
87
docs/code/afterwriting/1.3.0/bootstrap_core-config.js.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,87 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="utf-8"> | ||
<title>bootstrap/core-config.js - Documentation</title> | ||
|
||
<script src="scripts/prettify/prettify.js"></script> | ||
<script src="scripts/prettify/lang-css.js"></script> | ||
<!--[if lt IE 9]> | ||
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script> | ||
<![endif]--> | ||
<link type="text/css" rel="stylesheet" href="styles/prettify.css"> | ||
<link type="text/css" rel="stylesheet" href="styles/jsdoc.css"> | ||
</head> | ||
<body> | ||
|
||
<input type="checkbox" id="nav-trigger" class="nav-trigger" /> | ||
<label for="nav-trigger" class="navicon-button x"> | ||
<div class="navicon"></div> | ||
</label> | ||
|
||
<label for="nav-trigger" class="overlay"></label> | ||
|
||
<nav> | ||
<h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="View.AppView.html">AppView</a></li></ul><h3>Modules</h3><ul><li><a href="module-bootstrap_app-config.html">bootstrap/app-config</a></li><li><a href="module-bootstrap_core-config.html">bootstrap/core-config</a><ul class='methods'><li data-type='method'><a href="module-bootstrap_core-config.html#~init">init</a></li></ul></li><li><a href="module-bootstrap_dev-config.html">bootstrap/dev-config</a></li><li><a href="module-client_client-config.html">client/client-config</a></li><li><a href="module-core_plugin.html">core/plugin</a></li><li><a href="module-plugin_info_info-plugin.html">plugin/info/info-plugin</a></li><li><a href="module-plugin_info_model_info-section.html">plugin/info/model/info-section</a></li><li><a href="module-theme_aw-bubble_model_section.html">theme/aw-bubble/model/section</a></li><li><a href="module-utils_browser.html">utils/browser</a><ul class='methods'><li data-type='method'><a href="module-utils_browser.html#.url_params">url_params</a></li></ul></li><li><a href="module-utils_fn.html">utils/fn</a><ul class='methods'><li data-type='method'><a href="module-utils_fn.html#.conflate">conflate</a></li></ul></li><li><a href="module-utils_helper.html">utils/helper</a><ul class='methods'><li data-type='method'><a href="module-utils_helper.html#.blank_text">blank_text</a></li><li data-type='method'><a href="module-utils_helper.html#.format_time">format_time</a></li><li data-type='method'><a href="module-utils_helper.html#.get_indentation">get_indentation</a></li></ul></li></ul><h3>Mixins</h3><ul><li><a href="theme_aw-bubble_view_section-view-mixin.html">theme/aw-bubble/view/section-view-mixin</a></li></ul><h3>Tutorials</h3><ul><li><a href="tutorial-bootstrap.html">bootstrap</a></li></ul><h3>Global</h3><ul><li><a href="global.html#_basicStats">_basicStats</a></li><li><a href="global.html#_fileSaved">_fileSaved</a></li><li><a href="global.html#_loadSettings">_loadSettings</a></li><li><a href="global.html#_saveToCloud">_saveToCloud</a></li><li><a href="global.html#_scriptChanged">_scriptChanged</a></li><li><a href="global.html#activate">activate</a></li><li><a href="global.html#BaseSectionPresenter">BaseSectionPresenter</a></li><li><a href="global.html#control">control</a></li><li><a href="global.html#date">date</a></li><li><a href="global.html#deactivate">deactivate</a></li><li><a href="global.html#getLastVisitDate">getLastVisitDate</a></li><li><a href="global.html#getSettingGroups">getSettingGroups</a></li><li><a href="global.html#getTdWrapper">getTdWrapper</a></li><li><a href="global.html#goto">goto</a></li><li><a href="global.html#group">group</a></li><li><a href="global.html#groups">groups</a></li><li><a href="global.html#hide">hide</a></li><li><a href="global.html#lastUsedInfo">lastUsedInfo</a></li><li><a href="global.html#LastUsedInfo">LastUsedInfo</a></li><li><a href="global.html#lastUsedInfoLoaded">lastUsedInfoLoaded</a></li><li><a href="global.html#require">require</a></li><li><a href="global.html#resolve_module_name">resolve_module_name</a></li><li><a href="global.html#script">script</a></li><li><a href="global.html#show">show</a></li><li><a href="global.html#title">title</a></li><li><a href="global.html#updateSize">updateSize</a></li><li><a href="global.html#view">view</a></li><li><a href="global.html#withNewFontSize">withNewFontSize</a></li></ul> | ||
</nav> | ||
|
||
<div id="main"> | ||
|
||
<h1 class="page-title">bootstrap/core-config.js</h1> | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<section> | ||
<article> | ||
<pre class="prettyprint source linenums"><code>define(function(require) { | ||
|
||
var Protoplast = require('protoplast'), | ||
PdfController = require('core/controller/pdf-controller'), | ||
Settings = require('core/model/settings'), | ||
ScriptModel = require('core/model/script-model'); | ||
|
||
/** | ||
* Core Config with all core controllers and utils. | ||
* | ||
* @module bootstrap/core-config | ||
* | ||
* @tutorial bootstrap | ||
*/ | ||
var CoreConfig = Protoplast.extend({ | ||
|
||
/** | ||
* Initialise config by registering object in context | ||
* @param {Context} context | ||
*/ | ||
init: function(context) { | ||
context.register('settings', Settings.create()); | ||
context.register('script', ScriptModel.create()); | ||
context.register('pdf', PdfController.create()); | ||
} | ||
|
||
}); | ||
|
||
return CoreConfig; | ||
});</code></pre> | ||
</article> | ||
</section> | ||
|
||
|
||
|
||
|
||
</div> | ||
|
||
<br class="clear"> | ||
|
||
<footer> | ||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.3.0-beta2</a> on Sun Mar 05 2017 19:40:18 GMT+0000 (GMT (czas standardowy)) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme. | ||
</footer> | ||
|
||
<script>prettyPrint();</script> | ||
<script src="scripts/linenumber.js"></script> | ||
</body> | ||
</html> |
Oops, something went wrong.