Permalink
Browse files

[minor] Updating code comments

  • Loading branch information...
1 parent fde6134 commit 02cb4983818b1456290fd816874b6b43260c2121 @Marak committed Sep 1, 2012
Showing with 3 additions and 3 deletions.
  1. +1 −1 README.md
  2. +2 −2 lib/resourceful-coder.js
View
@@ -6,7 +6,7 @@ Converts resourceful resources back into the JavaScript code which created them.
### The intended use of this project is for generating documentation code examples.
-### If you use this as a scaffolding tool or as some wierd reflection solution I probably won't approve.
+### If you use this as a scaffolding tool or as some weird reflection solution I probably won't approve.
# Installation
View
@@ -5,7 +5,7 @@ var coder = {};
exports.code = function (resource) {
var str = '';
//
- // var Creature = resourceful.defined('creature');
+ // var Creature = resourceful.define('creature');
//
str += 'var ' + resource._resource + " = resourceful.define('" + resource.lowerResource + "');\n\n";
var schema = resource.schema.properties;
@@ -57,7 +57,7 @@ exports.code = function (resource) {
//
str += resource._resource + '.' + m + ' = ' + resource[m].toString() + ';\n';
//
- // Creature.feed.remove = true;
+ // Creature.feed.remote = true;
//
str += resource._resource + '.remote = true;\n'

0 comments on commit 02cb498

Please sign in to comment.