- Add new assert syntax.

- Fix Icons size issues.
This commit is contained in:
Paulo Veiga
2011-07-27 14:33:02 -03:00
parent 0b67b42045
commit d06275f524
51 changed files with 231 additions and 210 deletions

View File

@@ -103,7 +103,7 @@ mindplot.VariableDistanceBoard = new Class({
},
lookupEntryByPosition:function(pos) {
core.assert($defined(pos), 'position can not be null');
$assert($defined(pos), 'position can not be null');
var entries = this._entries;
var zeroEntry = entries.get(0);
if (zeroEntry.isCoordinateIn(pos.y)) {
@@ -156,7 +156,7 @@ mindplot.VariableDistanceBoard = new Class({
},
update:function(entry) {
core.assert(entry, 'Entry can not be null');
$assert(entry, 'Entry can not be null');
var order = entry.getOrder();
var index = this._orderToIndex(order);