mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-29 02:10:08 +00:00
moving to ig-features v3...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
7a065d7778
commit
8be7c7cd00
@ -2428,5 +2428,6 @@ core.ImageGridFeatures.Feature('fs', [
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/**********************************************************************
|
/**********************************************************************
|
||||||
* vim:set ts=4 sw=4 : */ return module })
|
* vim:set ts=4 sw=4 : */ return module })
|
||||||
|
|||||||
@ -23,7 +23,7 @@
|
|||||||
"glob": "^4.0.6",
|
"glob": "^4.0.6",
|
||||||
"guarantee-events": "^1.0.0",
|
"guarantee-events": "^1.0.0",
|
||||||
"ig-actions": "^3.0.0",
|
"ig-actions": "^3.0.0",
|
||||||
"ig-features": "^2.0.0",
|
"ig-features": "^3.0.0",
|
||||||
"ig-object": "^1.0.1",
|
"ig-object": "^1.0.1",
|
||||||
"openseadragon": "^2.1.0",
|
"openseadragon": "^2.1.0",
|
||||||
"preact": "^8.1.0",
|
"preact": "^8.1.0",
|
||||||
|
|||||||
@ -135,7 +135,7 @@ $(function(){
|
|||||||
|
|
||||||
|
|
||||||
// report stuff...
|
// report stuff...
|
||||||
// XXX we also have .conflicts and .missing
|
/* XXX legacy features...
|
||||||
ig.features.excluded.length > 0
|
ig.features.excluded.length > 0
|
||||||
&& console.warn('Features excluded (%d):',
|
&& console.warn('Features excluded (%d):',
|
||||||
ig.features.excluded.length,
|
ig.features.excluded.length,
|
||||||
@ -147,12 +147,29 @@ $(function(){
|
|||||||
&& console.log('Features disabled (%d):',
|
&& console.log('Features disabled (%d):',
|
||||||
ig.features.disabled.length,
|
ig.features.disabled.length,
|
||||||
ig.features.disabled)
|
ig.features.disabled)
|
||||||
console.log('Features not applicable (%d):',
|
//*/
|
||||||
ig.features.unapplicable.length,
|
|
||||||
ig.features.unapplicable)
|
|
||||||
console.log('Features loaded (%d):',
|
console.log('Features loaded (%d):',
|
||||||
ig.features.features.length,
|
ig.features.features.length,
|
||||||
ig.features.features)
|
ig.features.features)
|
||||||
|
console.log('Features disabled (%d):',
|
||||||
|
ig.features.disabled.length,
|
||||||
|
ig.features.disabled)
|
||||||
|
console.log('Features not applicable (%d):',
|
||||||
|
ig.features.unapplicable.length,
|
||||||
|
ig.features.unapplicable)
|
||||||
|
|
||||||
|
ig.features.excluded.length > 0
|
||||||
|
&& console.warn('Features excluded (%d):',
|
||||||
|
ig.features.excluded.length,
|
||||||
|
ig.features.excluded)
|
||||||
|
|
||||||
|
// NOTE: fatal errors will get reported by setup...
|
||||||
|
if(ig.features.error){
|
||||||
|
var err = ig.features.error
|
||||||
|
err.missing.length > 0
|
||||||
|
&& console.warn('Features disabled (%d):',
|
||||||
|
err.missing)
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
// setup logger...
|
// setup logger...
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user