Fork me on GitHub
#hoplon
<
2017-10-17
>
thedavidmeister00:10:59

now i want to do this for half the codebase, lol

thedavidmeister00:10:23

namespacing for event triggering/handling could be cool, i haven't looked into it though

alandipert16:10:46

jouerose i'm using the "name" attribute that the browser uses to exclude radio buttons, but that behavior could also be implemented with cells

jouerose16:10:41

@alandipert i am trying to integrate datepicker like it is done here https://github.com/hoplon/jquery.daterangepicker but boot says No such namespace: hoplon.jquery.daterangepicker, could no ....

jouerose16:10:36

may be i should ask another way, what is the recommended way to add a datepicker in hoplon?

alandipert16:10:17

jouerose hm that looks to be because of a regression in the hoplon task, .cljs.hl doesn't work in a library anymore or something

alandipert16:10:12

...which i'm not sure we want to bring back. a workaround is to change the library to distribute .cljs instead of .cljs.hl

alandipert16:10:27

an immediate workaround is to just copy the contents of the datepicker.cljs.hl file to your project

flyboarder17:10:35

@alandipert @jouerose .cljs.hl is still supported, however you need to add hoplon.jquery also

flyboarder17:10:24

There could be other issues with that library tho, it hasnt been updated in a while

alandipert17:10:28

really? i added that datepicker library a as dependency and it complained about not finding the namespace... as if hoplon wasn't reading the hoplon/manifest.edn

flyboarder17:10:04

@alandipert I assume you are using the boot task also 😛

flyboarder17:10:10

hmm not sure, could be looked at once 7.1 goes final? We are So Close ™️

alandipert17:10:22

yeah. in any case i'm not sure it's a good idea to support, as opposed to compiling your .hl to cljs first and then deploying jar

flyboarder21:10:40

yeah the .hl->.cljs is preferred if you want others to consume your package