anatomy-server
Advanced tools
Comparing version 0.0.2 to 0.0.3
@@ -18,8 +18,8 @@ (function() { | ||
render = function() { | ||
var collection, model, template; | ||
model = _this.appView.views[1].model; | ||
collection = _this.appView.views[1].collection; | ||
var collection, model, template, _ref, _ref1, _ref2, _ref3; | ||
model = (_ref = _this.appView.views[1]) != null ? _ref.model : void 0; | ||
collection = (_ref1 = _this.appView.views[1]) != null ? _ref1.collection : void 0; | ||
template = index({ | ||
markup: _this.appView.toHTML(true), | ||
navigationItems: JSON.stringify(_this.appView.views[0].collection.toJSON()), | ||
navigationItems: JSON.stringify((_ref2 = _this.appView.views[0]) != null ? (_ref3 = _ref2.collection) != null ? _ref3.toJSON() : void 0 : void 0), | ||
model: JSON.stringify(model || collection) | ||
@@ -26,0 +26,0 @@ }); |
{ | ||
"name": "anatomy-server", | ||
"version": "0.0.2", | ||
"version": "0.0.3", | ||
"description": "Server side Backbone code", | ||
@@ -13,4 +13,5 @@ "main": "index.js", | ||
"grunt": "~0.4.1", | ||
"grunt-contrib-coffee": "~0.6.0" | ||
"grunt-contrib-coffee": "~0.6.0", | ||
"grunt-docco": "~0.2.0" | ||
} | ||
} |
@@ -1,3 +0,17 @@ | ||
# Anatomy Server | ||
# Chalice Server | ||
### Description | ||
This is part of a bigger framework that makes [Backbone](http://backbonejs.org) | ||
work on both the client and the server. | ||
### Other Parts of the Library | ||
for now the libraries live with the `anatomy` names on `npm` and | ||
[github](http://github.com/shanejonas). | ||
- [View](https://github.com/shanejonas/anatomy-view) | ||
- [CompositeView](https://github.com/shanejonas/anatomy-compositeview) | ||
- [Client](https://github.com/shanejonas/anatomy-client) | ||
- [Server](https://github.com/shanejonas/anatomy-server) | ||
- [Shared](https://github.com/shanejonas/anatomy-shared) | ||
## Usage: | ||
@@ -9,1 +23,5 @@ ``` | ||
``` | ||
## Creds | ||
[tbranyen](https://twitter.com/tbranyenor) for express overrides in | ||
`Backbone.Router` |
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
23784
9
230
27
3
1