New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

anatomy-server

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

anatomy-server - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

11

index.js

@@ -11,2 +11,3 @@ (function() {

module.exports = function(app, index) {
Backbone.$ = null;
Backbone.isServer = true;

@@ -18,7 +19,9 @@ Backbone.Router.prototype.route = function(route, name) {

render = function() {
var markup, template, _ref;
markup = _this.appView.toHTML(true);
var collection, model, template;
model = _this.appView.views[1].model;
collection = _this.appView.views[1].collection;
template = index({
markup: markup,
model: JSON.stringify((_ref = _this.lastFetched) != null ? _ref.toJSON() : void 0)
markup: _this.appView.toHTML(true),
navigationItems: JSON.stringify(_this.appView.views[0].collection.toJSON()),
model: JSON.stringify(model || collection)
});

@@ -25,0 +28,0 @@ return res.end(template);

{
"name": "anatomy-server",
"version": "0.0.1",
"version": "0.0.2",
"description": "Server side Backbone code",

@@ -5,0 +5,0 @@ "main": "index.js",

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc