mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 11:05:53 +02:00
bd58e931bb
(merged from branches/gsoc) git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@41872 467b73ca-7a2a-4603-9d3b-597d59a354a9
18 lines
349 B
JavaScript
18 lines
349 B
JavaScript
/**
|
|
* @author Mateusz
|
|
*/
|
|
var Effects = {
|
|
initialize: function() {
|
|
this.setListeners = Effects.setListeners.bind(this);
|
|
this.rotate = Effects.rotate.bind(this);
|
|
this.setListeners();
|
|
},
|
|
|
|
rotate: function() {
|
|
imageTransformation.rotate(90);
|
|
},
|
|
|
|
setListeners: function() {
|
|
Event.observe('rotateButton','click',this.rotate);
|
|
}
|
|
} |