lib/carte/client/views/content.cjsx in carte-server-1.0.9 vs lib/carte/client/views/content.cjsx in carte-server-1.0.10

- old
+ new

@@ -1,11 +1,11 @@ # @cjsx React.DOM $ = require('jquery') React = require('react') List = require('./list') Tags = require('./tags') -Slideshow = require('./slideshow') +Flash = require('./flash') CardCollection = require('../models/cards') CardHistoryCollection = require('../models/card_histories') CardModel = require('../models/card') TagCollection = require('../models/tags') String = require('string') @@ -36,10 +36,10 @@ cards.fetch success: ()-> cards.fetching = false if cards.query.mode == 'flash' cards.query.auto = 'off' if !cards.query.auto cards.query.hide = 'none' if !cards.query.hide document.title = config.title + '、フラッシュ' - <Slideshow key='slideshow' router={@props.router} cards={cards} /> + <Flash key='flash' router={@props.router} cards={cards} /> else document.title = config.title <List key='list' router={@props.router} cards={cards} /> when "show" cards = new CardCollection()