-
Notifications
You must be signed in to change notification settings - Fork 13.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add jsblocks #1297
Add jsblocks #1297
Conversation
👎 |
This is a good Idea to put this on TodoMVC, I test JSBlock and like of your performance. |
indent_size = 2 | ||
|
||
[*.md] | ||
trim_trailing_whitespace = false |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please remove this file. We have our own code styling rules and those are in the root directory :) Same thing for .gitattributes
:)
Can you also fix the JSHint errors? |
No problem. I will fix everything. Can you just clarify what do you mean by adding the example to the home page? Which home page and where? |
@astoilkov To the home page of the website, |
I think I fixed all reported things. As for the name of the folder - I have removed |
Well, we're not talking about an extension here. What's the name of the framework? Blocks? Or jsblocks? |
|
||
node_modules/todomvc-common/* | ||
!node_modules/todomvc-common/base.css | ||
!node_modules/todomvc-common/base.js |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This gitignore looks okay but you forgot to actually add the files too.
It's jsblocks. However, in jsdelivr and DefinitelyTyped the folders are called blocks. So its your call. I can't decide. |
@@ -0,0 +1,59 @@ | |||
<!doctype html> | |||
<html lang="en" data-framework="jsblocks"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this should be equal to the folder name
Looks like I'm able to add empty todos. |
@astoilkov jsblocks, then. |
}, | ||
|
||
clearCompleted: function () { | ||
this.removeAll(function (todo) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Might be just my feeling but removeAll
is a confusing name if you only want to remove specific items.
Ok. Fixed noted things. Thanks for being so patient. :) |
@astoilkov mind squashing down into a single commit please? |
<link rel="stylesheet" href="node_modules/todomvc-app-css/index.css"> | ||
</head> | ||
<body> | ||
<section id="todoapp" data-query="view(Todos)" class="todoapp"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we use the v2 app spec here (classes instead of IDs) ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I added the id because the tests were failing without it. I can remove them quickly if this is not a problem.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can remove the id's. We're going to update the test suite shortly.
@samccone When everything is perfect I will make it a single commit. Just one question. I will do it by creating a new pull request with the one commit is there any other way for making it only one commit? |
Just squash them using a rebase and then force push this branch. If you've got troubles with that I'm happy to squash stuff for you while merging :) |
@@ -278,6 +278,9 @@ | |||
<li class="routing"> | |||
<a href="examples/webrx/" data-source="http://webrxjs.org" data-content="WebRx is a Javascript MVVM-Framework that combines functional-reactive programming with declarative Data-Binding, Templating and Client-Side Routing. The framework is built on top of ReactiveX for Javascript (RxJs) which is a powerful set of libraries for processing and querying asynchronous data-streams that can originate from diverse sources such as Http-Requests, Input-Events, Timers and much more.">WebRx</a> | |||
</li> | |||
<li class="routing"> | |||
<a href="examples/blocks/" data-source="http://jsblocks.com" data-content="From simple user interfaces to complex single-page applications using faster, server-side rendered and easy to learn framework">jsblocks</a> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This link is now broken ;)
This is only partially fixed. I'm still able to edit an existing one with only whitespace. |
Could you please add some comments to the code? Specifically to the parts which might confuse beginners. (#385) |
ping @astoilkov, was you able to publish a release? |
@arthurvr No. Sorry. I was on a holiday and returned yesterday. I am a little sick now but I will publish a release next week. |
Thanks. |
Sorry for the delay. Here are the updates. :) |
@astoilkov looks like we need a rebase 😉 |
I am not expert on git. Is there any possibility someone else can do it? If no...can you explain me the required steps you want me to take. |
Thanks @sindresorhus . It's time I do this. |
ping :) |
Yep. I am in process of completing it. Hope will do this in the next days. |
awesome thanks @astoilkov |
Hey @astoilkov looks like you are still failing a few tests, have you had a moment to take a look? |
Yes. I found the problem. I will try fixing it without pushing to the todomvc repository. I will write back once done. |
great thanks a bunch @astoilkov |
Hi @samccone. The issue is fixed. However, I will need to bump up the jsblocks version. I will fix a few more issues, bump up the version and then update it here. |
ok thanks for keeping us in the loop @astoilkov !!! |
Hey @astoilkov any word :) |
Yes. As I said I will release this week. Today we did the last bug fix that we wanted to include in the release. I will spend some time these days to make the release. |
awesome ✨ Just doing my weekly review of open PRs :) :) |
Ok. I am ready with the release. Now the only thing I should do is update the pull request adding the latest jsblocks version. I have a few questions though:
|
Yep, you will want to rebase, however there are no conflicts so it should be as simple as
then
Yep add it back in :) |
Hey guys, I am going to close the PR, just ping us when you push and think it is good to go. Thanks |
👍 |
oh looks like it freaked out :( @Kanaye mind just opening a new one and linking it? Thanks! |
jsblocks have been developed for the past couple of years. Two weeks ago it was released and collected more than 800 stars. You could take a look at some of the advantages of the project here. Some of the things include:
Test results: