Skip to content

Commit

Permalink
Bump 2.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Yomguithereal committed Nov 10, 2015
1 parent a936ab6 commit 83c3cdb
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 9 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
# Changelog

## v2.1.1 (provisional)
## v2.1.1

* Fixing existence checking of `undefined` values.
* Fixing the `lazyMonkeys` option.
* Fixing the tree's behavior regarding ES6 collections ([@askmatey](https://github.com/askmatey)).
* Fixing the `splice` method ([@SaphuA](https://github.com/SaphuA)).

## v2.1.0

Expand Down
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "baobab",
"main": "build/baobab.min.js",
"version": "2.1.0",
"version": "2.1.1",
"homepage": "https://github.com/Yomguithereal/baobab",
"author": {
"name": "Guillaume Plique",
Expand Down
6 changes: 3 additions & 3 deletions build/baobab.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* baobab.js - Version: 2.1.0 - Author: Yomguithereal (Guillaume Plique) */
/* baobab.js - Version: 2.1.1 - Author: Yomguithereal (Guillaume Plique) */
(function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.Baobab = f()}})(function(){var define,module,exports;return (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(require,module,exports){
(function() {
'use strict';
Expand Down Expand Up @@ -1123,7 +1123,7 @@ Baobab.helpers = helpers;
* Version
*/
Object.defineProperty(Baobab, 'version', {
value: '2.1.0'
value: '2.1.1'
});

/**
Expand Down Expand Up @@ -2472,7 +2472,7 @@ function splice(array, startIndex, nb) {
elements[_key2 - 3] = arguments[_key2];
}

return array.slice(0, startIndex).concat(elements).concat(array.slice(startIndex + nb));
return array.slice(0, startIndex).concat(elements).concat(array.slice(startIndex + Math.max(0, nb)));
}

/**
Expand Down
4 changes: 2 additions & 2 deletions build/baobab.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "baobab",
"version": "2.1.0",
"version": "2.1.1",
"description": "JavaScript persistent data tree with cursors.",
"main": "./dist/baobab.js",
"dependencies": {
Expand Down
2 changes: 1 addition & 1 deletion src/baobab.js
Original file line number Diff line number Diff line change
Expand Up @@ -572,7 +572,7 @@ Baobab.helpers = helpers;
* Version
*/
Object.defineProperty(Baobab, 'version', {
value: '2.1.0'
value: '2.1.1'
});


Expand Down

0 comments on commit 83c3cdb

Please sign in to comment.