Socket
Socket
Sign inDemoInstall

node-barefoot

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-barefoot - npm Package Compare versions

Comparing version 0.0.10 to 0.0.11

3

CHANGES.md
# Changes
## 0.0.11
* Don't start Backbone.History for browsers not supporting JavaScript History and/or `pushState`
## 0.0.10

@@ -3,0 +6,0 @@ * Bug fixed: `DataStore` was not deserializing collections properly.

2

lib/client/datastore-mixin.js

@@ -21,3 +21,3 @@ /** Mixin: Barefoot.DataStore.Client

* <Barefoot.DataStore.registerCollection>. Otherwise parse will throw an error
* as soon as i tries to deserialize such an object.
* as soon as it tries to deserialize such an object.
*

@@ -24,0 +24,0 @@ * Parameters:

@@ -23,3 +23,3 @@ /** Mixin: Barefoot.Start.Client

function start(Router, APIAdapter, startOptions) {
/* global $ */
/* global $, window, history */
$(function() {

@@ -30,4 +30,9 @@ // Ensure that Backbone is globally available when running on the

// from modernizr, MIT | BSD
// http://modernizr.com/
var useHistory = !!(window.history && history.pushState);
Backbone.history.start({
pushState: true
pushState: useHistory
, hashChange: useHistory
, silent: true

@@ -34,0 +39,0 @@ });

@@ -25,4 +25,4 @@ /** Mixin: Barefoot.DataStore.Server

* <Barefoot.DataStore.registerModel> and
* <Barefoot.DataStore.registerCollection>. Otherwise parse will throw an error
* as soon as i tries to deserialize such an object.
* <Barefoot.DataStore.registerCollection>. Otherwise parse will throw an error
* as soon as it tries to deserialize such an object.
*

@@ -29,0 +29,0 @@ * Returns:

{
"name": "node-barefoot"
, "version": "0.0.10"
, "version": "0.0.11"
, "description": "Barefoot makes code sharing between browser and server reality. Write your application once and run it on both ends of the wire."

@@ -5,0 +5,0 @@ , "keywords": [

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