From 82821a2bb0c116742be04987116cd61978398d07 Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Wed, 8 Mar 2017 06:12:25 +0300 Subject: [PATCH] started an experiment with a different approach to partial ribbons... Signed-off-by: Alex A. Naanou --- ui (gen4)/features/ui-partial-ribbons2.js | 46 +++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100755 ui (gen4)/features/ui-partial-ribbons2.js diff --git a/ui (gen4)/features/ui-partial-ribbons2.js b/ui (gen4)/features/ui-partial-ribbons2.js new file mode 100755 index 00000000..b56681c0 --- /dev/null +++ b/ui (gen4)/features/ui-partial-ribbons2.js @@ -0,0 +1,46 @@ +/********************************************************************** +* +* +* +**********************************************************************/ +((typeof define)[0]=='u'?function(f){module.exports=f(require)}:define) +(function(require){ var module={} // make module AMD/node compatible... +/*********************************************************************/ + +var actions = require('lib/actions') +var features = require('lib/features') + +var core = require('features/core') + + + +/*********************************************************************/ + +var FeatureActions = actions.Actions({ + emptyAction: ['- Demo/Empty action', + function(){ + // XXX + }], +}) + +var Feature = +module.Feature = core.ImageGridFeatures.Feature({ + title: '', + doc: '', + + // XXX + tag: 'feature-tag', + depends: [ + // XXX + ], + + actions: FeatureActions, + + handlers: [], +}) + + + + +/********************************************************************** +* vim:set ts=4 sw=4 : */ return module })