GithubHelp home page GithubHelp logo

Comments (7)

sbstjn avatar sbstjn commented on May 2, 2024

You don't need Ruby/HAML to get it working.

Use the JS and CSS file inside the dist/ folder and take a look at http://semu.github.io/timesheet.js/

from timesheet.js.

rowild avatar rowild commented on May 2, 2024

I am confused... there has to be some html, right?

I can get grunt running, that's no problem. But trying to process the haml files - which should work, right? - is, where I am stuck. Also, using the grunt-contrib-haml plugin throws an error:

Exception on line 14: undefined method `javascript_include_tag' for #Object:0x007ffb8a3dd6e0
Use --trace for backtrace.

Any help would really be appreciated! Thanks!

from timesheet.js.

sbstjn avatar sbstjn commented on May 2, 2024

try

bundle install
middleman

or

bundle install
middleman build

After that you have the site available at http://semu.github.io/timesheet.js, but that's not needed for using Timesheet.js. All HTML code is generated for you using JavaScript …

from timesheet.js.

rowild avatar rowild commented on May 2, 2024

Thank you, that worked!

Are the websocket and swf reference included by the ruby-live-reload-thingy? And why is the actual html not saved anywhere?

No offense, but for a newcomer, this is all vey confusing... I really think such a nice project should provide more info on how to get it running and also generate the HTML output (which must be somewhere... not everything is in the JS, right?)

Sorry for the critique - it is a wonderful script that you share here. It would be even greater if it was more "accessible" :-)

BTW: why don't you use grunt's haml module? That would keep things consistent and within one "technology frame"...

All the best and thanks again!
Robert

from timesheet.js.

sbstjn avatar sbstjn commented on May 2, 2024

No offense

none taken ;)

Are the websocket and swf reference included by the ruby-live-reload-thingy?

yes.

which must be somewhere... not everything is in the JS, right?

That's the idea behind Timesheet.js. You do not have to create HTML structure for your data. Just include the JavaScript file, provide a structured set of data and everything is generated for you.

why don't you use grunt's haml module?

Because HAML/ruby/middleman is only needed to generate the GitHub info page.

from timesheet.js.

rowild avatar rowild commented on May 2, 2024

:-) Yes, for the data (the .timesheet section). But you provide more than that with your example here. It is just my feeling that a project transports a sense of completeness, if the show case can be duplicated.

I am a somewhat tenacious, maybe even stubborn character as you might have guessed by now already ;-) So I'd like to give it one more try to ask you whether it is possible to convince you to provide a grunt haml solution the get the html processed, too??

Would be great - but I do understand that this is of course your product and I still could forge it...

Million thanks for your help and patience!
Robert

from timesheet.js.

sbstjn avatar sbstjn commented on May 2, 2024

It is just my feeling that a project transports a sense of completeness, if the show case can be duplicated

Jep, you're are right on that. But Timesheet.js is work-in-progress and not something to be considered a failsafe 1.0 release. And as mentioned before, you can easily run the showcase with bundle install && middleman

provide a grunt haml solution the get the html processed

I don't see that in the near future, I'm sorry. But I will keep it on the list for a rainy sunday :)

from timesheet.js.

Related Issues (20)

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.