Skip to content

Commit

Permalink
Merge pull request #88 from petetnt/petetnt/lodash-3-compatibility
Browse files Browse the repository at this point in the history
Update _.template-data formatting for lodash 3.10.0 compatibility
  • Loading branch information
gruehle committed Oct 16, 2015
2 parents 53b69f5 + 351850a commit 5eb64b1
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 5eb64b1

Please sign in to comment.