minor tweaks and some testing...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2014-10-29 23:54:09 +03:00
parent e2931cf62a
commit 02889c5f7e
3 changed files with 7 additions and 3 deletions

View File

@ -40,10 +40,12 @@ module.mock_data = {
order: [],
ribbon_order: ['y', 'x'],
ribbon_order: ['r0', 'r1'],
ribbons: {
x: ['1', '2', '3'],
y: ['a', 'b', 'c', 'd', 'e', 'f', 'g']
r1: ['1', '2', '3'],
r0: ['a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l',
'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x',
'y', 'z']
},
}
Object.keys(mock_data.ribbons).forEach(function(k){

View File

@ -168,6 +168,7 @@ $(function(){
window.a = testing.setupActions()
// setup features...
viewer.RibbonAlignToOrder.setup(a)
//viewer.RibbonAlignToFirst.setup(a)
viewer.ShiftAnimation.setup(a)

View File

@ -906,6 +906,7 @@ function Feature(obj){
// XXX revise...
// XXX need to test and tweak with actual images...
var PartialRibbons =
module.PartialRibbons = Feature({
tag: 'ui-partial-ribbons',