Skip to content
This repository has been archived by the owner on May 15, 2023. It is now read-only.

Commit

Permalink
Ready for 0.9.5
Browse files Browse the repository at this point in the history
  • Loading branch information
soney committed Mar 2, 2014
1 parent 53d95dc commit dca9dfa
Show file tree
Hide file tree
Showing 6 changed files with 184 additions and 181 deletions.
327 changes: 164 additions & 163 deletions api/index.html

Large diffs are not rendered by default.

17 changes: 9 additions & 8 deletions build/cjs.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// ConstraintJS (CJS) 0.9.5-beta
// ConstraintJS (CJS) 0.9.5
// ConstraintJS may be freely distributed under the MIT License
// http://cjs.from.so/

Expand Down Expand Up @@ -1962,7 +1962,7 @@ extend(cjs, {
* @property {string} cjs.version
* @see cjs.toString
*/
version: "0.9.5-beta", // This template will be filled in by the builder
version: "0.9.5", // This template will be filled in by the builder

/**
* Print out the name and version of ConstraintJS
Expand Down Expand Up @@ -6790,12 +6790,13 @@ extend(cjs, {
* @param {string} str - The string to parse
* @param {object} context - The context in which to look for variables
* @return {cjs.Cosntraint} - Whether the template was successfully resumed
* @example
* var a = cjs(1);
* var x = cjs.createParsedConstraint("a+b", {a: a, b: cjs(2)})
* x.get(); // 3
* a.set(2);
* x.get(); // 4
* @example Creating a parsed constraint `x`
*
* var a = cjs(1);
* var x = cjs.createParsedConstraint("a+b", {a: a, b: cjs(2)})
* x.get(); // 3
* a.set(2);
* x.get(); // 4
*/
createParsedConstraint: function(str, context) {
var node = jsep(str);
Expand Down
4 changes: 2 additions & 2 deletions build/cjs.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion build/cjs.min.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "constraintjs",
"version": "0.9.5-beta",
"version": "0.9.5",
"description": "Constraint library for JavaScript",
"author": "Stephen Oney <[email protected]> (http://from.so/)",
"homepage": "http://cjs.from.so/",
Expand Down
13 changes: 7 additions & 6 deletions src/template/cjs_template.js
Original file line number Diff line number Diff line change
Expand Up @@ -994,12 +994,13 @@ extend(cjs, {
* @param {string} str - The string to parse
* @param {object} context - The context in which to look for variables
* @return {cjs.Cosntraint} - Whether the template was successfully resumed
* @example
* var a = cjs(1);
* var x = cjs.createParsedConstraint("a+b", {a: a, b: cjs(2)})
* x.get(); // 3
* a.set(2);
* x.get(); // 4
* @example Creating a parsed constraint `x`
*
* var a = cjs(1);
* var x = cjs.createParsedConstraint("a+b", {a: a, b: cjs(2)})
* x.get(); // 3
* a.set(2);
* x.get(); // 4
*/
createParsedConstraint: function(str, context) {
var node = jsep(str);
Expand Down

0 comments on commit dca9dfa

Please sign in to comment.