/*jslint browser: true, unparam: true, vars: true, white: true, maxerr: 50, indent: 4 */ // Continuation marks (function(baselib) { 'use strict'; var exports = {}; baselib.contmarks = exports; var ContinuationMarkSet = function(dict) { this.dict = dict; }; ContinuationMarkSet.prototype.toDomNode = function(cache) { var dom = document.createElement("span"); dom.appendChild(document.createTextNode('#')); return dom; }; ContinuationMarkSet.prototype.toWrittenString = function(cache) { return '#'; }; ContinuationMarkSet.prototype.toDisplayedString = function(cache) { return '#'; }; ContinuationMarkSet.prototype.ref = function(key) { if ( this.dict.containsKey(key) ) { return this.dict.get(key); } return []; }; // A continuation prompt tag labels a prompt frame. var ContinuationPromptTag = function(name) { this.name = name; }; exports.ContinuationMarkSet = ContinuationMarkSet; exports.ContinuationPromptTag = ContinuationPromptTag; }(this.plt.baselib));