Replies: 8 comments 25 replies
-
Hi @kurokida, I would love to, but I'm a bit busy at the moment to go on a hike through the Austrian Alps. Back next week! Best, Thomas |
Beta Was this translation helpful? Give feedback.
-
About making bundles for jsQuestPlus via rollup: I'd need to do a bit of restructuring; shall I go ahead or wait for future updates to |
Beta Was this translation helpful? Give feedback.
-
It might be handy to remove all the code related to jsQUEST from the |
Beta Was this translation helpful? Give feedback.
-
I'll take the challenge! :) I'll dive into it next week
…On Wed, Nov 10, 2021 at 5:53 AM Daiichiro Kuroki ***@***.***> wrote:
Could you take the challenge?
Since when running jsQUEST the numeric.js does not need to be included in
a script tag, I would like to have a bundle so that jsQuestPlus works
without specifying the numeric.js.
Also, thank you for the explanation about the branch.
I deleted all the files unrelated to jsQuestPlus from the quest_plus
branch.
In other words, we can use the main branch for jsQUEST and the quest_plus
branch for jsQuestPlus.
Perhaps you can remove the description about jsQUEST from package.json and
rollup.confg.js in quest_plus branch.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#11 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACESG4BEEDMMYTJUGQ5YL5LULH3EPANCNFSM5GFR6TQQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
Beta Was this translation helpful? Give feedback.
-
I managed to bundle numeric with jsQuestPlus in my fork of the quest_plus branch. Here are some steps to see it in action:
Before wrapping things up, I'd like to exchange thoughts with you about how we shall name things. The |
Beta Was this translation helpful? Give feedback.
-
No worries; I'm having a great time and learning a lot about modern JS in
the process.
Indeed, it's a bit tedious like that, but I can think of two ways around
it. In both approaches you'd still have the shorter syntax.
1) with the script tag we could at a little bit of script at the top, like
this:
```
jsquest = jsQuestPlus.jsquest;
numeric = jsQuestPlus.numeric;
```
2) with the ES6 import, we could write:
```
import {jsquest, numeric} from jsQuestPlus
```
How does that sound?
…On Wed, 17 Nov 2021, 06:41 Daiichiro Kuroki, ***@***.***> wrote:
I am very grateful for your cooperation.
However, I think the previous bundle (i.e. the way to write the numeric.js
manually in a script tag) is better than the latest bundle because it would
be tedious to describe each time as jsQuestPlus.jsquest or
jsQuestPlus.numeric.
You have spent a lot of time on this, and I am very sorry.
What do you think about my opinion?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#11 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACESG4D3H72K7WQYTZ4ZFW3UMNE75ANCNFSM5GFR6TQQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
Beta Was this translation helpful? Give feedback.
-
Hi @tpronk , I successfully added the wrappers for the numeric.js. It worked fine with the method you showed me. |
Beta Was this translation helpful? Give feedback.
-
Thank you for your pull request. I was not clear enough, but I had already imported the files except for the "src/jsQuestPlus.js". Then I created a new repository for jsQuestPlus and invited you to be a collaborator. |
Beta Was this translation helpful? Give feedback.
-
Hi, @tpronk
I almost finish to implement jsQuestPlus.
At first, could you run the two examples?
https://github.com/kurokida/jsQUEST/blob/quest_plus/Example_1stim_1psy_2resp_Watson(2017).html
https://github.com/kurokida/jsQUEST/blob/quest_plus/Example_2stim_3psy_2resp_Watson(2017).html
Watson (2017) wrote a lots of examples. For the two examples, the intensity and response of all stimuli are described. So, I demonstrated using these values, and confirmed to obtain the same estimates.
I define a JavaScript class for jsQuestPlus.
For jsQUEST (not plus) you changed the style for an ES6 module using the rollup command.
It would be great if you could do the same work again this time.
Beta Was this translation helpful? Give feedback.
All reactions