Git Product home page Git Product logo

front's Issues

Vote talks.

If the user is registered allow to vote up a talk.

Search fails

http://localhost:8081/search?q=google*

TypeError: /home/raul/Projects/tlks.io/front/src/views/partials/talk-list.item.jade:5
   3|     .col-xs-2.thumb
   4|         //- Thumbnail
 > 5|         a(href="talk/play/" + talk.id)
   6|             img.img-responsive.img-circle.thumbnail(src="http://img.youtube.com/vi/" + talk.code + "/0.jpg")
   7|     .col-xs-8.content
   8|         //- Title

Cannot read property 'id' of undefined
   at eval (eval at <anonymous> (/home/raul/Projects/tlks.io/front/node_modules/jade/lib/index.js:218:8), <anonymous>:422:55)
   at eval (eval at <anonymous> (/home/raul/Projects/tlks.io/front/node_modules/jade/lib/index.js:218:8), <anonymous>:1131:4)
   at eval (eval at <anonymous> (/home/raul/Projects/tlks.io/front/node_modules/jade/lib/index.js:218:8), <anonymous>:1472:22)
   at res (/home/raul/Projects/tlks.io/front/node_modules/jade/lib/index.js:219:38)
   at Object.exports.renderFile (/home/raul/Projects/tlks.io/front/node_modules/jade/lib/index.js:380:38)
   at View.exports.renderFile [as engine] (/home/raul/Projects/tlks.io/front/node_modules/jade/lib/index.js:370:21)
   at View.render (/home/raul/Projects/tlks.io/front/node_modules/express/lib/view.js:93:8)
   at EventEmitter.app.render (/home/raul/Projects/tlks.io/front/node_modules/express/lib/application.js:566:10)
   at ServerResponse.res.render (/home/raul/Projects/tlks.io/front/node_modules/express/lib/response.js:938:7)
   at Request._callback (/home/raul/Projects/tlks.io/front/lib/routes/talk.js:47:13)

Use libtlks

All models need to use libtlks and not directly mongo or the search index.

CSS Lint

Execute make lint to jshint and csslint your sources:

[16:09:26] 22 errors found in /home/raul/Projects/tlks.io/front/public/css/app.css
[16:09:26] [L11:C1] Rule is empty. Rules without any properties specified should be removed. (empty-rules)
[16:09:26] [L12:C3] Expected RBRACE at line 12, col 3. This rule looks for recoverable syntax errors. (errors)
[16:09:26] [L15:C1] Unexpected token '}' at line 15, col 1. This rule looks for recoverable syntax errors. (errors)
[16:09:26] [L18:C3] Expected RBRACE at line 18, col 3. This rule looks for recoverable syntax errors. (errors)
[16:09:26] [L21:C5] Expected RBRACE at line 21, col 5. This rule looks for recoverable syntax errors. (errors)
[16:09:26] [L31:C3] Unexpected token '}' at line 31, col 3. This rule looks for recoverable syntax errors. (errors)
[16:09:26] [L32:C1] Unexpected token '}' at line 32, col 1. This rule looks for recoverable syntax errors. (errors)
[16:09:26] [L35:C3] Expected RBRACE at line 35, col 3. This rule looks for recoverable syntax errors. (errors)
[16:09:26] [L37:C5] Expected RBRACE at line 37, col 5. This rule looks for recoverable syntax errors. (errors)
[16:09:26] [L49:C7] Expected RBRACE at line 49, col 7. This rule looks for recoverable syntax errors. (errors)
[16:09:26] [L53:C7] Unexpected token '}' at line 53, col 7. This rule looks for recoverable syntax errors. (errors)
[16:09:26] [L54:C5] Unexpected token '}' at line 54, col 5. This rule looks for recoverable syntax errors. (errors)
[16:09:26] [L55:C5] Rule is empty. Rules without any properties specified should be removed. (empty-rules)
[16:09:26] [L56:C9] Expected COLON at line 56, col 9. This rule looks for recoverable syntax errors. (errors)
[16:09:26] [L59:C5] Unexpected token '}' at line 59, col 5. This rule looks for recoverable syntax errors. (errors)
[16:09:26] [L62:C7] Expected RBRACE at line 62, col 7. This rule looks for recoverable syntax errors. (errors)
[16:09:26] [L72:C5] Unexpected token '}' at line 72, col 5. This rule looks for recoverable syntax errors. (errors)
[16:09:26] [L73:C3] Unexpected token '}' at line 73, col 3. This rule looks for recoverable syntax errors. (errors)
[16:09:26] [L74:C1] Unexpected token '}' at line 74, col 1. This rule looks for recoverable syntax errors. (errors)
[16:09:26] [L79:C3] Expected RBRACE at line 79, col 3. This rule looks for recoverable syntax errors. (errors)
[16:09:26] [L83:C3] Unexpected token '}' at line 83, col 3. This rule looks for recoverable syntax errors. (errors)
[16:09:26] [L84:C1] Unexpected token '}' at line 84, col 1. This rule looks for recoverable syntax errors. (errors)
/home/raul/Projects/tlks.io/front/lib/routes/talk.js: line 236, col 33, Missing semicolon.

Talk: info

Show n. views, n. comments, favorited on detailed view

Like / Favorite talks

Allow to registered users to favorite talks.
If the user is not authorized we will only show the number of favorites the talk has.

gulp-less breaks the build

./node_modules/.bin/gulp default
[16:05:57] Using gulpfile ~/Projects/tlks.io/front/gulpfile.js
[16:05:57] Starting 'jshint'...
[16:05:57] Finished 'jshint' after 15 ms
[16:05:57] Starting 'less'...
[16:05:57] Finished 'less' after 3.64 ms
[16:05:57] Starting 'csslint'...
[16:05:57] Finished 'csslint' after 2.34 ms
[16:05:57] Starting 'default'...
[16:05:57] Finished 'default' after 5.33 μs
/home/raul/Projects/tlks.io/front/node_modules/gulp-less/index.js:68
    }).done(undefined, cb);
       ^
TypeError: undefined is not a function
    at DestroyableTransform._transform (/home/raul/Projects/tlks.io/front/node_modules/gulp-less/index.js:68:8)
    at DestroyableTransform.Transform._read (/home/raul/Projects/tlks.io/front/node_modules/gulp-less/node_modules/through2/node_modules/readable-stream/lib/_stream_transform.js:184:10)
    at DestroyableTransform.Transform._write (/home/raul/Projects/tlks.io/front/node_modules/gulp-less/node_modules/through2/node_modules/readable-stream/lib/_stream_transform.js:172:12)
    at doWrite (/home/raul/Projects/tlks.io/front/node_modules/gulp-less/node_modules/through2/node_modules/readable-stream/lib/_stream_writable.js:237:10)
    at writeOrBuffer (/home/raul/Projects/tlks.io/front/node_modules/gulp-less/node_modules/through2/node_modules/readable-stream/lib/_stream_writable.js:227:5)
    at DestroyableTransform.Writable.write (/home/raul/Projects/tlks.io/front/node_modules/gulp-less/node_modules/through2/node_modules/readable-stream/lib/_stream_writable.js:194:11)
    at write (/home/raul/Projects/tlks.io/front/node_modules/gulp/node_modules/vinyl-fs/node_modules/through2/node_modules/readable-stream/lib/_stream_readable.js:623:24)
    at flow (/home/raul/Projects/tlks.io/front/node_modules/gulp/node_modules/vinyl-fs/node_modules/through2/node_modules/readable-stream/lib/_stream_readable.js:632:7)
    at DestroyableTransform.pipeOnReadable (/home/raul/Projects/tlks.io/front/node_modules/gulp/node_modules/vinyl-fs/node_modules/through2/node_modules/readable-stream/lib/_stream_readable.js:664:5)
    at DestroyableTransform.emit (events.js:104:17)
make: *** [build] Error 1

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.