mappings #375

Merged
merged 1 commit into from Mar 5, 2014

Conversation

Projects
None yet
2 participants
Contributor

Pomax commented Mar 4, 2014

No description provided.

public/friendlycode/js/fc/ui/live-preview.js
@@ -97,12 +99,33 @@ define(["jquery", "backbone-events", "./mark-tracker"], function($, BackboneEven
e = e.childNodes[route.splice(0,1)[0]];
}
var start = e.parseInfo.openTag.start,
- end = e.parseInfo.closeTag.end;
+ end = e.parseInfo.closeTag ? e.parseInfo.closeTag.end : e.parseInfo.startTag.end
@alicoding

alicoding Mar 5, 2014

Member

Missing semicolon here

Pomax added a commit that referenced this pull request Mar 5, 2014

Merge pull request #375 from Pomax/code2preview
code to preview mapping, based on cursor position in the editor.

@Pomax Pomax merged commit bd75439 into mozilla:master Mar 5, 2014

1 check passed

default The Travis CI build passed
Details

@Pomax Pomax deleted the Pomax:code2preview branch Mar 5, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment