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:
parent
2e9b8141e7
commit
3eeeebf8f2
@ -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 = [];
|
||||
|
||||
|
@ -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()
|
||||
|
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user