Skip to content

Commit

Permalink
Ensuring a trailing newline.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jordan Harband committed Feb 12, 2013
1 parent af19f7a commit e6104a6
Show file tree
Hide file tree
Showing 20 changed files with 21 additions and 1 deletion.
1 change: 1 addition & 0 deletions LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,4 @@ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.

1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -294,3 +294,4 @@ valid or with an error message if the field is invalid.

A function which accepts a name and field as arguments and returns a string
containing a HTML representation of the field.

1 change: 1 addition & 0 deletions example/complex.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,3 +82,4 @@ http.createServer(function (req, res) {
}).listen(8080);

util.puts('Server running at http://127.0.0.1:8080/');

3 changes: 2 additions & 1 deletion example/json-template.js
Original file line number Diff line number Diff line change
Expand Up @@ -529,4 +529,5 @@ return {Template: Template, HtmlEscape: HtmlEscape};
}();

// commonjs
for (var key in jsontemplate) exports[key] = jsontemplate[key];
for (var key in jsontemplate) exports[key] = jsontemplate[key];

1 change: 1 addition & 0 deletions example/layout.jade
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ html
head
title Test forms for express.js
body!= body

1 change: 1 addition & 0 deletions example/page.jade
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ h1= title
form(method='post')
!= form
input(type='submit')

1 change: 1 addition & 0 deletions example/page.jsont
Original file line number Diff line number Diff line change
Expand Up @@ -56,3 +56,4 @@
</form>
</body>
</html>

1 change: 1 addition & 0 deletions example/simple-express.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,3 +69,4 @@ if (!module.parent) {
app.listen(8080);
sys.puts('Express server running at http://127.0.0.1:8080/');
}

1 change: 1 addition & 0 deletions example/simple.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,3 +46,4 @@ http.createServer(function (req, res) {
}).listen(8080);

util.puts('Server running at http://127.0.0.1:8080/');

1 change: 1 addition & 0 deletions index.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// This file is just added for convenience so this repository can be
// directly checked out into a project's deps folder
module.exports = require('./lib/forms');

1 change: 1 addition & 0 deletions lib/fields.js
Original file line number Diff line number Diff line change
Expand Up @@ -141,3 +141,4 @@ exports.array = function (opt) {
};
return f;
};

1 change: 1 addition & 0 deletions lib/forms.js
Original file line number Diff line number Diff line change
Expand Up @@ -90,3 +90,4 @@ exports.create = function (fields) {
};
return f;
};

1 change: 1 addition & 0 deletions lib/render.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,4 @@ exports.table = function (name, field) {
'</tr>'
].join('');
};

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,4 @@
"nodeunit": "~0.7.4"
}
}

1 change: 1 addition & 0 deletions test.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@

var reporter = require('nodeunit').reporters.default;
reporter.run(['test']);

1 change: 1 addition & 0 deletions test/test-fields.js
Original file line number Diff line number Diff line change
Expand Up @@ -354,3 +354,4 @@ exports['array toHTML'] = function (test) {
);
test.done();
};

1 change: 1 addition & 0 deletions test/test-form.js
Original file line number Diff line number Diff line change
Expand Up @@ -359,3 +359,4 @@ exports['div bound error'] = function (test) {
});
setTimeout(test.done, 25);
};

1 change: 1 addition & 0 deletions test/test-forms.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,4 @@ exports.create = function (test) {
);
test.done();
};

1 change: 1 addition & 0 deletions test/test-render.js
Original file line number Diff line number Diff line change
Expand Up @@ -217,3 +217,4 @@ exports['table bound error'] = function (test) {
});
setTimeout(test.done, 25);
};

1 change: 1 addition & 0 deletions test/test-validators.js
Original file line number Diff line number Diff line change
Expand Up @@ -171,3 +171,4 @@ exports.color = function (test) {
}));
async.parallel(tests, test.done);
};

0 comments on commit e6104a6

Please sign in to comment.