2
0
mirror of https://github.com/iconify/iconify.git synced 2024-11-16 17:45:09 +00:00

Fix few code comments

This commit is contained in:
cyberalien 2017-04-07 09:31:52 +03:00
parent 2e9b8141e7
commit 3eeeebf8f2
3 changed files with 5 additions and 14 deletions

View File

@ -38,7 +38,7 @@
* List of callbacks to call to test if script is ready
* Callback should return false if not ready, true if ready
*
* @type {[function]}
* @type {[{Function}]}
*/
local.preInitQueue = [function() {
return loaded;
@ -47,7 +47,7 @@
/**
* List of callbacks to call when SimpleSVG is ready
*
* @type {[function]}
* @type {[function}]}
*/
local.initQueue = [];

View File

@ -11,10 +11,8 @@
/**
* Observer function
*
* This function waits for new nodes to be added to DOM, then calls
* function local.nodesAdded(nodes)
*
* Callback argument "nodes" is not checked for duplicate nodes and list could be incorrect when using IE
* Observer automatically loads polyfill for MutationObserver for IE9-10 from CDN that can be configured
* See ../polyfill.js
*
* Observer can be paused using SimpleSVG.pauseObserving()
* and resumed using SimpleSVG.resumeObserving()

View File

@ -9,14 +9,7 @@
*/
/**
* Observer function
*
* Observer automatically loads polyfill for MutationObserver for IE9-10 from CDN that can be configured
* See polyfill.js
*
* Observer should be paused before adding any new items using SimpleSVG.pauseObserving()
* and resumed after that using SimpleSVG.resumeObserving()
* Pause/resume can stack, so if you call pause twice, resume should be called twice.
* Observer polyfill loader
*/
(function(local, config, global) {
"use strict";