Skip to content

Commit

Permalink
Update _.template-data formatting for lodash 3.0.0 compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
petetnt committed Oct 14, 2015
1 parent 53b69f5 commit 351850a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.js
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ define(function (require, exports, module) {
var baseUrl = window.location.protocol + "//" + FileUtils.getDirectoryPath(doc.file.fullPath);

// Assemble the HTML source
var htmlSource = _.template(previewHTML, {
var htmlSource = _.template(previewHTML)({
baseUrl : baseUrl,
themeUrl : require.toUrl("./themes/" + _prefs.get("theme") + ".css"),
scrollTop : scrollPos,
Expand Down

0 comments on commit 351850a

Please sign in to comment.