Compare commits

...

7 Commits

Author SHA1 Message Date
kpdecker 1eb2b04aa1 v2.0.0 2014-09-01 21:28:59 -05:00
kpdecker 2e75199664 Update release notes 2014-09-01 21:28:51 -05:00
kpdecker 0670f656fb Update jsfiddle to 2.0.0-beta.1 2014-08-27 09:27:57 -05:00
kpdecker 4d17e3c209 Add contrib note regarding handlebarsjs.com docs 2014-08-27 01:49:52 -05:00
kpdecker 58fb258016 Cleanup var names slightly 2014-08-27 01:49:23 -05:00
kpdecker ed3ae9af59 Drop cdnjs release step 2014-08-26 19:38:40 -05:00
kpdecker 64d5481c00 Play nice with gemspec version numbers 2014-08-26 19:38:32 -05:00
7 changed files with 22 additions and 14 deletions
+3 -2
View File
@@ -8,6 +8,8 @@ Should you run into other issues with the project, please don't hesitate to let
Pull requests containing only failing thats demonstrating the issue are welcomed and this also helps ensure that your issue won't regress in the future once it's fixed.
Documentation issues on the handlebarsjs.com site should be reported on [handlebars-site](https://github.com/wycats/handlebars-site).
## Pull Requests
We also accept [pull requests][pull-request]!
@@ -61,7 +63,6 @@ A full release may be completed with the following:
```
yo release
npm publish
yo release:publish cdnjs handlebars.js dist/cdnjs/
yo release:publish components handlebars.js dist/components/
cd dist/components/
@@ -74,4 +75,4 @@ After this point the handlebars site needs to be updated to point to the new ver
[generator-release]: https://github.com/walmartlabs/generator-release
[pull-request]: https://github.com/wycats/handlebars.js/pull/new/master
[issue]: https://github.com/wycats/handlebars.js/issues/new
[jsfiddle]: http://jsfiddle.net/9D88g/11/
[jsfiddle]: http://jsfiddle.net/9D88g/25/
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "handlebars",
"version": "2.0.0-beta.1",
"version": "2.0.0",
"main": "handlebars.js",
"dependencies": {}
}
+1 -1
View File
@@ -11,7 +11,7 @@ Gem::Specification.new do |gem|
gem.description = %q{Handlebars.js source code wrapper for (pre)compilation gems.}
gem.summary = %q{Handlebars.js source code wrapper}
gem.homepage = "https://github.com/wycats/handlebars.js/"
gem.version = package["version"]
gem.version = package["version"].sub! "-", "."
gem.license = "MIT"
gem.files = [
+1 -1
View File
@@ -2,7 +2,7 @@
<package>
<metadata>
<id>handlebars.js</id>
<version>2.0.0-beta.1</version>
<version>2.0.0</version>
<authors>handlebars.js Authors</authors>
<licenseUrl>https://github.com/wycats/handlebars.js/blob/master/LICENSE</licenseUrl>
<projectUrl>https://github.com/wycats/handlebars.js/</projectUrl>
+7 -7
View File
@@ -1,7 +1,7 @@
module Utils from "./utils";
import Exception from "./exception";
export var VERSION = "2.0.0-beta.1";
export var VERSION = "2.0.0";
export var COMPILER_REVISION = 6;
export var REVISION_CHANGES = {
@@ -43,11 +43,11 @@ HandlebarsEnvironment.prototype = {
delete this.helpers[name];
},
registerPartial: function(name, str) {
registerPartial: function(name, partial) {
if (toString.call(name) === objectType) {
Utils.extend(this.partials, name);
} else {
this.partials[name] = str;
this.partials[name] = partial;
}
},
unregisterPartial: function(name) {
@@ -189,9 +189,9 @@ function registerDefaultHelpers(instance) {
}
});
instance.registerHelper('log', function(context, options) {
instance.registerHelper('log', function(message, options) {
var level = options.data && options.data.level != null ? parseInt(options.data.level, 10) : 1;
instance.log(level, context);
instance.log(level, message);
});
instance.registerHelper('lookup', function(obj, field) {
@@ -210,11 +210,11 @@ export var logger = {
level: 3,
// can be overridden in the host environment
log: function(level, obj) {
log: function(level, message) {
if (logger.level <= level) {
var method = logger.methodMap[level];
if (typeof console !== 'undefined' && console[method]) {
console[method].call(console, obj);
console[method].call(console, message);
}
}
}
+1 -1
View File
@@ -1,7 +1,7 @@
{
"name": "handlebars",
"barename": "handlebars",
"version": "2.0.0-beta.1",
"version": "2.0.0",
"description": "Handlebars provides the power necessary to let you build semantic templates effectively with no frustration",
"homepage": "http://www.handlebarsjs.com/",
"keywords": [
+8 -1
View File
@@ -2,7 +2,14 @@
## Development
[Commits](https://github.com/wycats/handlebars.js/compare/v2.0.0-beta.1...master)
[Commits](https://github.com/wycats/handlebars.js/compare/v2.0.0...master)
## v2.0.0 - September 1st, 2014
- Update jsfiddle to 2.0.0-beta.1 - 0670f65
- Add contrib note regarding handlebarsjs.com docs - 4d17e3c
- Play nice with gemspec version numbers - 64d5481
[Commits](https://github.com/wycats/handlebars.js/compare/v2.0.0-beta.1...v2.0.0)
## v2.0.0-beta.1 - August 26th, 2014
- [#787](https://github.com/wycats/handlebars.js/pull/787) - Remove whitespace surrounding standalone statements ([@kpdecker](https://api.github.com/users/kpdecker))