more reformatting

This commit is contained in:
Edin Dazdarevic
2015-01-25 16:42:16 +01:00
parent e3997a1a48
commit 0abbdcec1f
5 changed files with 59 additions and 58 deletions

View File

@@ -26,7 +26,7 @@ var ItemWithDetailsPage = React.createClass({
<div className='h4'> {this.state.item.get('list_price')} KM</div> <div className='h4'> {this.state.item.get('list_price')} KM</div>
<div> {this.state.item.get('description')}</div> <div> {this.state.item.get('description')}</div>
</div> </div>
<ItemMultiMediaDescriptions descriptions={this.state.item.get('multi_media_descriptions')} /> <ItemMultiMediaDescriptions descriptions={this.state.item.get('multi_media_descriptions')} />

View File

@@ -74,6 +74,7 @@ var SectionsListComponent = React.createClass({
<div> <div>
<ul className='nav nav-pills'> <ul className='nav nav-pills'>
{this.state.sections.map(function(section) { {this.state.sections.map(function(section) {
return ( return (
<li key={section.get('id')} role='presentation' style={style}> <li key={section.get('id')} role='presentation' style={style}>
<a href="#" onClick={self.onSectionClick.bind(self, section)} onMouseOver={self.onMouseOver.bind(self, section)}> <a href="#" onClick={self.onSectionClick.bind(self, section)} onMouseOver={self.onMouseOver.bind(self, section)}>

View File

@@ -4,6 +4,6 @@ var Routes = require('./routes');
Backbone.$ = $; Backbone.$ = $;
module.exports = { module.exports = {
ExternalApi: ExternalApi, App: ExternalApi,
Routes : Routes Routes: Routes
} }