moving to ig-features v3...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2017-06-22 16:11:17 +03:00
parent 7a065d7778
commit 8be7c7cd00
3 changed files with 23 additions and 5 deletions

View File

@ -2428,5 +2428,6 @@ core.ImageGridFeatures.Feature('fs', [
/**********************************************************************
* vim:set ts=4 sw=4 : */ return module })

View File

@ -23,7 +23,7 @@
"glob": "^4.0.6",
"guarantee-events": "^1.0.0",
"ig-actions": "^3.0.0",
"ig-features": "^2.0.0",
"ig-features": "^3.0.0",
"ig-object": "^1.0.1",
"openseadragon": "^2.1.0",
"preact": "^8.1.0",

View File

@ -135,7 +135,7 @@ $(function(){
// report stuff...
// XXX we also have .conflicts and .missing
/* XXX legacy features...
ig.features.excluded.length > 0
&& console.warn('Features excluded (%d):',
ig.features.excluded.length,
@ -147,12 +147,29 @@ $(function(){
&& 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)
//*/
console.log('Features loaded (%d):',
ig.features.features.length,
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...