syntax error

git-svn-id: http://www.cozmixng.org/repos/piro/treestyletab/trunk@5741 599a83e7-65a4-db11-8015-0010dcdd6dc2
This commit is contained in:
piro 2010-01-05 02:04:09 +00:00
parent 7ace22d9cc
commit c5364572bd

View File

@ -20,8 +20,8 @@
// history item // history item
{ label : 'Change tabbar position', { label : 'Change tabbar position',
onUndo : function() { MyService.myProp = oldValue; }, onUndo : function() { MyService.myProp = oldValue; },
/* "onRedo" is optional. If you don't specify it, // "onRedo" is optional. If you don't specify it,
the undoable task becomes onRedo automatically. */ // the undoable task becomes onRedo automatically.
onRedo : function() { MyService.myProp = newValue; } } onRedo : function() { MyService.myProp = newValue; } }
); );
OH.undo('MyAddonFeature', window); OH.undo('MyAddonFeature', window);