mirror of
https://github.com/seejohnrun/haste-server
synced 2025-08-21 01:13:08 -07:00
Update source
This commit is contained in:
parent
3ceeb5d5db
commit
b08c6eb4fd
2 changed files with 2 additions and 1 deletions
|
@ -244,6 +244,7 @@ haste.prototype.loadDocument = function(key) {
|
|||
_this.doc = new haste_document();
|
||||
_this.doc.load(parts[0], function(ret) {
|
||||
if (ret) {
|
||||
console.log("loading doc huh")
|
||||
var lines = ret.value.split(/\r\n|\r|\n/);
|
||||
for (var i = 0; i < lines.length; i++) {
|
||||
let code = document.createElement('code');
|
||||
|
|
2
static/application.min.js
vendored
2
static/application.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Add table
Add a link
Reference in a new issue