Skip to content

Commit

Permalink
Update runtime.js
Browse files Browse the repository at this point in the history
  • Loading branch information
aladdin-add authored Oct 24, 2018
1 parent ec7a150 commit 1f19d37
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/compile/runtime.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
/*! art-template@runtime | https://github.com/aui/art-template */

var globalThis = typeof self !== 'undefined' ? self
const globalThis = typeof self !== 'undefined' ? self
: typeof window !== 'undefined' ? window
: typeof global !== 'undefined' ? global : {};

var runtime = Object.create(globalThis);
var ESCAPE_REG = /["&'<>]/;
const runtime = Object.create(globalThis);
const ESCAPE_REG = /["&'<>]/;

/**
* 编码模板输出的内容
Expand Down

0 comments on commit 1f19d37

Please sign in to comment.