3.1.4 • Published 6 months ago

@templatejs/runtime v3.1.4

Weekly downloads
26
License
MIT
Repository
github
Last release
6 months ago

runtime

npm.io

template.js的runtime运行时

:pill: 兼容性

单元测试保证支持如下环境:

IECHFFSFOPIOSAndroidNode
6+29+55+9+50+9+4+4+

注意:编译代码依赖ES5环境,对于ie6-8需要引入es5-shim才可以兼容,可以查看demo/demo-global.html中的例子

:rocket: 使用者指南

通过npm下载安装代码

$ npm install --save @templatejs/runtime

如果你是node环境

var runtime = require('@templatejs/runtime');

如果你是webpack等环境

import runtime from '@templatejs/runtime';

如果你是requirejs环境

requirejs(['node_modules/@templatejs/runtime/dist/index.aio.js'], function (runtime) {
    // xxx
})

如果你是浏览器环境

<script src="node_modules/@templatejs/runtime/dist/index.aio.js"></script>

:bookmark_tabs: 文档

API

贡献者列表

contributors

:gear: 更新日志

CHANGELOG.md

:airplane: 计划列表

TODO.md