| Программистам: исходники |
| 1 | Base.extend = function(_instance, _static) { var extend = Base.prototype.extend; Base._prototyping = true; var proto = new this; extend.call(proto, _instance); proto.base = function() { }; |
| 2 | var klass = proto.constructor = function() { if (!Base._prototyping) { if (this.constructor == klass) { this._constructing = true; constructor.apply(this, arguments); delete this._constructing; } else if (arguments(0) != null) { return (arguments(0).extend).call(arguments(0), proto); } } }; klass.implement = this.implement; klass.prototype = proto; klass.toString = this.toString; klass.valueOf = function(type) { return (type == "object") ? klass : constructor.valueOf(); }; extend.call(klass, _static); if (typeof klass.init == "function") klass.init(); return klass; }; |
| 3 | private static String GetDecodedFileIdLines(String htmlAttributeFileId) { if (String.IsNullOrWhiteSpace(htmlAttributeFileId)) { return null; } var bytes = Convert.FromBase64String(htmlAttributeFileId); return attachmentInfo.Split(StringSplitOptions.RemoveEmptyEntries); } internal static AttachmentDescriptor HtmlToAttachments(String htmlString) { if (String.IsNullOrEmpty(htmlString)) { return null; } if (document == null) { return null; } return ParseSpans(allSpans); } |
Комментарии
Кроме того, программисту этот словарь не очень полезен: постоянно порываешься нажать «Enter», Ctrl+пробел и делать отступы.