Skip to content

Instantly share code, notes, and snippets.

View laispace's full-sized avatar

赖小赖 laispace

  • AntFin
  • Shenzhen
View GitHub Profile
@wiky
wiky / tmpl.js
Last active December 17, 2015 04:28
a simple javascript templating
(function (exports) {
var settings = {
open: '<%',
close: '%>',
evaluate: '',
interpolate: '='
};
var matcher = new RegExp([
settings.open,