carte-server 0.0.17 → 0.0.18

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d30756fcc57b54e7d93508984cc7a96762b92301
4
- data.tar.gz: cf07a61a36ca45dd1592b335dbaa62e00b148307
3
+ metadata.gz: 4a12da652db1659d7bc217a5421e66a135a0950f
4
+ data.tar.gz: 572f63cbaef520e827d1210cadec7debaed4068e
5
5
  SHA512:
6
- metadata.gz: 91c259b1bf218861934a79673ccc3667f5cf2a2eebf114980d59166695599ef7b2162a5d92b0b770dd122be1f25ad27e94a6e53a01c280c6570d6703ed7e651a
7
- data.tar.gz: 2738a6455017fc4580b7e2724d76d71bb86993d0d83afffb1e44aa1647bc55eb46f4356bf93b0ce74708575d6e3645afd124627358678ead5d3afbea0896cde0
6
+ metadata.gz: dc535692372cc58f5b763fc4d49aaddd8482717b4cf35a39d1c5253da5bfda54696f546f520a3a35ac747b9282922eeefdd6bd1c3d293503f95e2a2f01310ebe
7
+ data.tar.gz: 17567f2388f619437de9baec936530f2f90ad4a3596b2c2e6e4d0bdb19e349e0c7132fd81864d52156ec869d321f938cda09b341c94ecfca3e27098334cc08e6
@@ -16,6 +16,5 @@ module.exports = React.createClass
16
16
  <div>
17
17
  <Header key='header' router={@props.router} />
18
18
  <Content key='content' router={@props.router} />
19
- <Footer key='footer' />
20
19
  </div>
21
20
 
@@ -29,7 +29,7 @@ module.exports = React.createClass
29
29
  render: ->
30
30
  console.log 'Card: render'
31
31
  <div className='col-sm-4 col-xs-12 list-group' style={marginBottom:'0px',padding:"5px"} onMouseOver={@onMouseOver} onMouseLeave={@onMouseLeave}>
32
- <div className='list-group-item' style={height:'220px'}>
32
+ <div className='list-group-item' style={height:'200px'}>
33
33
  <div style={marginBottom:'10px'}>
34
34
  {
35
35
  if @props.card.get('focused')
@@ -28,14 +28,13 @@ module.exports = React.createClass
28
28
  cards.query = $.extend {}, config.default_query, @props.router.query
29
29
  cards.fetching = true
30
30
  cards.fetch success: ()-> cards.fetching = false
31
- title = []
32
- for k, v of cards.query
33
- if k != 'title'
34
- title.push(String(k).capitalize() + ': ' + v)
35
- title = title.join(', ')
36
- title = 'search: ' + cards.query.title + ' (' + title + ')' if cards.query.title
37
- title += ' - ' + config.title
38
- document.title = title
31
+ #title = []
32
+ #for k, v of cards.query
33
+ # title.push(String(k).capitalize() + ': ' + v)
34
+ #title = title.join(', ')
35
+ #title = config.title + ' (' + title + ')'
36
+ #document.title = title
37
+ document.title = config.title
39
38
  <List key='list' router={@props.router} cards={cards} />
40
39
  when "show"
41
40
  console.log 'show'
@@ -61,7 +60,7 @@ module.exports = React.createClass
61
60
  error: (card, response)=>
62
61
  console.log 'error!!!!!!!!!!!!!!!!!!!!!!!!', response
63
62
  cards.fetching = false
64
- document.title = card.get('title') + ' - ' + config.title
63
+ document.title = config.title + '' + card.get('title')
65
64
  <List key='show' cards={cards} card={card} />
66
65
  else
67
66
  console.log 'else'
@@ -11,7 +11,7 @@ module.exports = React.createClass
11
11
  for i in [1..9]
12
12
  <div className='col-sm-4' style={padding:'5px'} onMouseOver={@onMouseOver} onMouseLeave={@onMouseLeave}>
13
13
  <div className='list-group'style={margin:'0px',padding:'0px'}>
14
- <div className='list-group-item' style={height:'220px'}>
14
+ <div className='list-group-item' style={height:'200px'}>
15
15
  {@props.children}
16
16
  </div>
17
17
  </div>
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "carte-client",
3
3
  "description": "something like dictionary, wiki, or information card",
4
- "version": "0.0.17",
4
+ "version": "0.0.18",
5
5
  "main": "lib/carte.coffee",
6
6
  "scripts": {
7
7
  "test": "echo \"Error: no test specified\" && exit 1"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: carte-server
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.17
4
+ version: 0.0.18
5
5
  platform: ruby
6
6
  authors:
7
7
  - tily
@@ -270,7 +270,6 @@ files:
270
270
  - lib/carte/shared/default.json
271
271
  - mongoid.yml
272
272
  - package.json
273
- - public/app.html
274
273
  - public/images/icon.png
275
274
  - screenshot.png
276
275
  - spec/server_spec.rb