Moved images to es

This commit is contained in:
Trevor Parscal 2011-11-30 23:54:12 +00:00
parent dfc33b332c
commit 049b82fb98
4 changed files with 6 additions and 8 deletions

View file

Before

Width:  |  Height:  |  Size: 156 B

After

Width:  |  Height:  |  Size: 156 B

View file

Before

Width:  |  Height:  |  Size: 144 B

After

Width:  |  Height:  |  Size: 144 B

View file

@ -13,7 +13,6 @@ es.SurfaceModel = function( doc ) {
// Properties
this.doc = doc;
this.selection = new es.Range();
this.previousSelection = null;
this.states = [[]];
this.initializeState( this.states.length - 1 );
@ -69,10 +68,9 @@ es.SurfaceModel.prototype.select = function( selection, combine ) {
this.pushState();
}
// Filter out calls to select if they do not change the selection values
this.selection = selection;
var selectionChanged = !this.previousSelection || (
this.previousSelection.from !== this.selection.from ||
this.previousSelection.to !== this.selection.to
var selectionChanged = !this.selection || (
this.selection.from !== selection.from ||
this.selection.to !== selection.to
);
if ( !combine || selectionChanged ) {
var lastAction = this.states[this.states.length - 1];
@ -82,11 +80,11 @@ es.SurfaceModel.prototype.select = function( selection, combine ) {
);
}
this.currentState.push( selection );
this.selection = selection;
if ( selectionChanged ) {
this.emit( 'select', this.selection.clone() );
}
}
this.previousSelection = this.selection.clone();
};
/**

View file

@ -5,7 +5,7 @@
-moz-border-radius: 0.25em;
-o-border-radius: 0.25em;
border-radius: 0.25em;
background-image: url(images/fade-up.png);
background-image: url(../es/images/fade-up.png);
background-position: bottom left;
background-repeat: repeat-x;
}
@ -78,7 +78,7 @@
list-style-type: square;
margin: .3em 0 0 1.5em;
padding: 0;
list-style-image: url(images/bullet-icon.png);
list-style-image: url(../es/images/bullet-icon.png);
}
.es-render ol {
line-height: 1.5em;