minor bugfix...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2014-11-17 01:21:14 +03:00
parent 435961d596
commit ce3d13ea9e
4 changed files with 15 additions and 4 deletions

View File

@ -305,8 +305,7 @@ stretching in width... */
-o-transition: all 0.1s ease-in; -o-transition: all 0.1s ease-in;
transition: all 0.1s ease-in; transition: all 0.1s ease-in;
} }
.shadow, .shadow {
.shadow .image {
-webkit-transform-origin: 0 0; -webkit-transform-origin: 0 0;
-moz-transform-origin: 0 0; -moz-transform-origin: 0 0;
-ms-transform-origin: 0 0; -ms-transform-origin: 0 0;

View File

@ -442,8 +442,7 @@ stretching in width... */
-o-transition: all 0.1s ease-in; -o-transition: all 0.1s ease-in;
transition: all 0.1s ease-in; transition: all 0.1s ease-in;
} }
.shadow, .shadow {
.shadow .image {
-webkit-transform-origin: 0 0; -webkit-transform-origin: 0 0;
-moz-transform-origin: 0 0; -moz-transform-origin: 0 0;
-ms-transform-origin: 0 0; -ms-transform-origin: 0 0;

View File

@ -1136,6 +1136,8 @@ module.RibbonsPrototype = {
} }
// see of we are loaded in the right position... // see of we are loaded in the right position...
// NOTE: loaded is maintained current later, thus it always
// contains a set of images representative of the ribbon...
var g = loaded.length > i ? that.getElemGID(loaded.eq(i)) : null var g = loaded.length > i ? that.getElemGID(loaded.eq(i)) : null
// check if we need to reattach the image... // check if we need to reattach the image...

View File

@ -213,6 +213,17 @@ actions.Actions({
this.data = data.Data.fromArray(this.images.keys()) this.data = data.Data.fromArray(this.images.keys())
}], }],
// XXX experimental...
// ...the bad thing about this is that we can not extend this,
// adding new items to the resulting structure...
dump: ['Dump state as JSOM object',
function(){
return {
data: this.data.dumpJSON(),
images: this.images != null ? this.images.dumpJSON() : null
}
}],
// basic navigation... // basic navigation...
// //