Changeset View
Changeset View
Standalone View
Standalone View
webroot/rsrc/js/application/diff/DiffInline.js
| Show First 20 Lines • Show All 75 Lines • ▼ Show 20 Lines | bindToRow: function(row) { | ||||
| this._isNew = false; | this._isNew = false; | ||||
| this._snippet = data.snippet; | this._snippet = data.snippet; | ||||
| this.setInvisible(false); | this.setInvisible(false); | ||||
| return this; | return this; | ||||
| }, | }, | ||||
| isDraft: function() { | |||||
| return this._isDraft; | |||||
| }, | |||||
| isDone: function() { | |||||
| return this._isFixed; | |||||
| }, | |||||
| isEditing: function() { | |||||
| return this._isEditing; | |||||
| }, | |||||
| isDeleted: function() { | |||||
| return this._isDeleted; | |||||
| }, | |||||
| bindToRange: function(data) { | bindToRange: function(data) { | ||||
| this._displaySide = data.displaySide; | this._displaySide = data.displaySide; | ||||
| this._number = parseInt(data.number, 10); | this._number = parseInt(data.number, 10); | ||||
| this._length = parseInt(data.length, 10); | this._length = parseInt(data.length, 10); | ||||
| this._isNewFile = data.isNewFile; | this._isNewFile = data.isNewFile; | ||||
| this._changesetID = data.changesetID; | this._changesetID = data.changesetID; | ||||
| this._isNew = true; | this._isNew = true; | ||||
| ▲ Show 20 Lines • Show All 614 Lines • Show Last 20 Lines | |||||