mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-11-01 20:00:10 +00:00
minor tweaks and some testing...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
e2931cf62a
commit
02889c5f7e
@ -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){
|
||||
|
||||
@ -168,6 +168,7 @@ $(function(){
|
||||
|
||||
window.a = testing.setupActions()
|
||||
|
||||
// setup features...
|
||||
viewer.RibbonAlignToOrder.setup(a)
|
||||
//viewer.RibbonAlignToFirst.setup(a)
|
||||
viewer.ShiftAnimation.setup(a)
|
||||
|
||||
@ -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',
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user