Skip to content
This repository has been archived by the owner. It is now read-only.

Commit

Permalink
Merge pull request #291 from fomkin/issue-284
Browse files Browse the repository at this point in the history
Close #284: remove korolev-client from global scope
  • Loading branch information
fomkin committed Oct 19, 2019
2 parents cad1152 + 7742b66 commit fece2c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion project/JsUtils.scala
Expand Up @@ -52,7 +52,7 @@ object JsUtils {
stringBuilder.toString
}

IO.write(sourceOutputFile, sourceOutput + "\n//# sourceMappingURL=korolev-client.min.js.map\n")
IO.write(sourceOutputFile, s"(function(){$sourceOutput}).call(this);\n//# sourceMappingURL=korolev-client.min.js.map\n")
IO.write(sourceMapOutputFile, sourceMapOutput)
Seq(sourceOutputFile, sourceMapOutputFile)
}
Expand Down

0 comments on commit fece2c4

Please sign in to comment.