Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# Underscore.template
# Underscore-template

More APIs for Underscore's template engine - template fetching, rendering and caching.

## Install

```bash
$ bower install underscore.template
$ bower install underscore-template
```

***
Expand Down
8 changes: 4 additions & 4 deletions bower.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"name": "underscore.template",
"version": "0.1.0",
"homepage": "https://github.com/cssmagic/underscore.template",
"name": "underscore-template",
"version": "0.1.1",
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

改完名顺便升个级。

"homepage": "https://github.com/cssmagic/underscore-template",
"authors": [
"cssmagic"
],
"description": "More APIs for Underscore's template engine.",
"main": "src/action.js",
"main": "src/underscore-template.js",
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这里是笔误……

"moduleType": [
"globals"
],
Expand Down
4 changes: 2 additions & 2 deletions src/underscore.template.js → src/underscore-template.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* Underscore.template - More APIs for Underscore's template engine - template fetching, rendering and caching.
* Underscore-template - More APIs for Underscore's template engine - template fetching, rendering and caching.
* Released under the MIT license.
* https://github.com/cssmagic/underscore.template
* https://github.com/cssmagic/underscore-template
*/
var template = function () {
'use strict'
Expand Down
8 changes: 4 additions & 4 deletions test/test.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@
<html>
<head>
<meta charset="UTF-8">
<title>UT - Underscore.template</title>
<title>UT - Underscore-template</title>
<meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no">
<link rel="stylesheet" href="../bower_components/mocha/mocha.css">
<link rel="stylesheet" href="../bower_components/mocha.css/src/mocha.css">
</head>
<body>
<header>
<h1>UT - Underscore.template</h1>
<p><a href="https://github.com/cssmagic/underscore.template">View on GitHub</a></p>
<h1>UT - Underscore-template</h1>
<p><a href="https://github.com/cssmagic/underscore-template">View on GitHub</a></p>
</header>
<div id="mocha"></div>
<!-- deps -->
Expand All @@ -26,7 +26,7 @@ <h1>UT - Underscore.template</h1>
var expect = chai.expect
</script>
<!-- source code -->
<script src="../src/underscore.template.js"></script>
<script src="../src/underscore-template.js"></script>
<!-- test-case -->
<script src="test.js"></script>
<!-- init -->
Expand Down