Changeset View
Changeset View
Standalone View
Standalone View
webroot/rsrc/js/application/diff/DiffChangeset.js
| Show First 20 Lines • Show All 755 Lines • ▼ Show 20 Lines | newInlineForRange: function(origin, target, options) { | ||||
| this._inlines.push(inline); | this._inlines.push(inline); | ||||
| inline.create(); | inline.create(); | ||||
| return inline; | return inline; | ||||
| }, | }, | ||||
| newInlineReply: function(original, text) { | newInlineReply: function(original, state) { | ||||
| var inline = new JX.DiffInline() | var inline = new JX.DiffInline() | ||||
| .setChangeset(this) | .setChangeset(this) | ||||
| .bindToReply(original); | .bindToReply(original); | ||||
| this._inlines.push(inline); | this._inlines.push(inline); | ||||
| inline.create(text); | inline.create(state); | ||||
| return inline; | return inline; | ||||
| }, | }, | ||||
| getInlineByID: function(id) { | getInlineByID: function(id) { | ||||
| return this._queryInline('id', id); | return this._queryInline('id', id); | ||||
| }, | }, | ||||
| ▲ Show 20 Lines • Show All 300 Lines • Show Last 20 Lines | |||||