muu

DEPRECATED lightweight JS framework
git clone https://git.ce9e.org/muu.git

commit
f7080be90e708574974c00c2ee376ffad7e6fa0b
parent
6bd1fb0c6ceef7fa8e9ed5411d77828fefcb5071
Author
Tobias Bengfort <tobias.bengfort@gmx.net>
Date
2015-08-23 07:35
use @see directive in docs

Diffstat

M .doc/styles/jsdoc-default.css 13 ++++++++++---
M src/muu-directive.js 5 ++---
M src/muu-dom-helpers.js 3 +--

3 files changed, 13 insertions, 8 deletions


diff --git a/.doc/styles/jsdoc-default.css b/.doc/styles/jsdoc-default.css

@@ -49,11 +49,17 @@ nav {
   49    49 
   50    50 /* else */
   51    51 .clear,
   52    -1 table.params thead,
   53    -1 .details {
   -1    52 table.params thead {
   54    53     display: none;
   55    54 }
   56    55 
   -1    56 .details dt {
   -1    57     display: none;
   -1    58 }
   -1    59 .details dd {
   -1    60     margin-left: 0;
   -1    61 }
   -1    62 
   57    63 nav {
   58    64     background: #333;
   59    65     color: #fff;
@@ -135,6 +141,7 @@ pre.source {
  135   141     padding: 0.5em;
  136   142     border: 1px solid #aaa;
  137   143     border-left: 0.2em solid #28b;
  138    -1     max-height: 25em;
   -1   144     max-height: 40em;
   -1   145     max-height: 80vh;
  139   146     overflow: auto;
  140   147 }

diff --git a/src/muu-directive.js b/src/muu-directive.js

@@ -49,10 +49,9 @@ define(['muu-dom-helpers', 'muu-js-helpers', 'muu-update-dom'], function($, _, u
   49    49         /**
   50    50          * Rerender `template` with `data` and push the changes to the DOM.
   51    51          *
   52    -1          * See {@link module:muu-update-dom} for details. The templating system
   53    -1          * can be defined in the {@link Registry}.
   54    -1          *
   55    52          * @param {Object.<string, *>} data
   -1    53          * @see {@link module:muu-update-dom} for details.
   -1    54          * @see The templating system can be defined in the {@link Registry}.
   56    55          */
   57    56         this.update = function(data) {
   58    57             var tmp = document.createElement('div');

diff --git a/src/muu-dom-helpers.js b/src/muu-dom-helpers.js

@@ -32,14 +32,13 @@ define(['muu-js-helpers'], function(_) {
   32    32     /**
   33    33      * Cross browser custom events.
   34    34      *
   35    -1      * See https://developer.mozilla.org/en-US/docs/Web/Guide/Events/Creating_and_triggering_events
   36    -1      *
   37    35      * *Note*: IE does not seem to like it when you use existing event names
   38    36      * with this.
   39    37      *
   40    38      * @param {string} type
   41    39      * @param {*} detail
   42    40      * @return {DOMEvent}
   -1    41      * @see https://developer.mozilla.org/en-US/docs/Web/Guide/Events/Creating_and_triggering_events
   43    42      */
   44    43     $.createEvent = function(type, detail) {
   45    44         if (typeof CustomEvent === 'function') {