From 9e2bb059448b4feb8c311de9a9ef9ddf0281cd13 Mon Sep 17 00:00:00 2001 From: Phil Date: Tue, 5 Jan 2016 00:27:02 +0100 Subject: [PATCH] Syntax error fix --- index.js | 4 ++-- package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/index.js b/index.js index 4106ce2..c2801cd 100644 --- a/index.js +++ b/index.js @@ -152,10 +152,10 @@ var Carousel = React.createClass({ } pages = pages.map((page, i) => - ({page} - ); + ); contents = ( diff --git a/package.json b/package.json index c9d3421..e496d42 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-native-looped-carousel", - "version": "0.0.7", + "version": "0.0.8", "description": "Looped carousel for React Native", "author": "Phil Rukin (http://rukin.me)", "contributors": [{