{"issue":{"milestone":null,"title":"RowStateEnum isn't defined","created_at":"2011-12-29T19:47:51Z","user":{"login":"GlennDOrr","id":1288677,"url":"https://api.github.com/users/GlennDOrr","gravatar_id":"1553fa1bac564439fe65409e8c71dd10","avatar_url":"https://secure.gravatar.com/avatar/1553fa1bac564439fe65409e8c71dd10?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"updated_at":"2011-12-29T20:21:27Z","state":"closed","labels":[],"id":2682110,"closed_at":"2011-12-29T20:21:27Z","html_url":"https://github.com/EntitySpaces/entityspaces.js/issues/4","pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"body":"Changed markAsDeleted from :\r\n```javascript\r\n        this.markAsDeleted = function () {\r\n        var entity = this;\r\n\r\n        if (!entity.hasOwnProperty(\"RowState\")) {\r\n            entity.RowState = ko.observable(es.RowStateEnum.deleted);\r\n        } else if (entity.RowState() !== es.RowStateEnum.deleted) {\r\n            entity.RowState(es.RowStateEnum.deleted);\r\n        }\r\n\r\n        if (entity.hasOwnProperty(\"ModifiedColumns\")) {\r\n            entity.ModifiedColumns.removeAll();\r\n        }\r\n    };\r\n```\r\n\r\nto:\r\n```javascript\r\n     this.markAsDeleted = function () {\r\n        var entity = this;\r\n\r\n        if (!entity.hasOwnProperty(\"RowState\")) {\r\n            entity.RowState = ko.observable(es.RowState.DELETED);\r\n        } else if (entity.RowState() !== es.RowState.DELETED) {\r\n            entity.RowState(es.RowState.DELETED);\r\n        }\r\n\r\n        if (entity.hasOwnProperty(\"ModifiedColumns\")) {\r\n            entity.ModifiedColumns.removeAll();\r\n        }\r\n    };\r\n```","number":4,"url":"https://api.github.com/repos/EntitySpaces/entityspaces.js/issues/4","comments":1,"assignee":null},"action":"closed"}