# Latest

**URL:** https://forums.bitovi.com/latest.md?page=5

[Latest](https://forums.bitovi.com/latest.md) · [Categories](https://forums.bitovi.com/categories.md) · [Tags](https://forums.bitovi.com/tags.md)

**Page:** 6

---

## [In-depth Guide - setting application route and env](https://forums.bitovi.com/t/in-depth-guide-setting-application-route-and-env/862)

<div class="topic-metadata">

**Author:** [@fp\_dev](https://forums.bitovi.com/u/fp_dev)\
**Replies:** 1\
**Last updated:** [April 18, 2018, 9:13pm UTC](https://forums.bitovi.com/t/in-depth-guide-setting-application-route-and-env/862 "2018-04-18T21:13:35Z")

</div>

Hi everybody, I would like to start a new project with DoneJS and I’m diving in the in-depth guide, but i’m stuck because i don’t understand how the routing works. In the example (using done-serve) the route.register i…

---

## [CanJS4.2 upgrade issues (again ..)](https://forums.bitovi.com/t/canjs4-2-upgrade-issues-again/861)

<div class="topic-metadata">

**Author:** [@ron.yuen](https://forums.bitovi.com/u/ron.yuen)\
**Replies:** 5\
**Last updated:** [April 18, 2018, 11:28am UTC](https://forums.bitovi.com/t/canjs4-2-upgrade-issues-again/861 "2018-04-18T11:28:14Z")

</div>

Woes with Template aquisition now resolved with help from Justin, many thanks. Another couple of issues where behaviour changes between 2.x and 4.2 :slight\_smile: import stache from ‘can-stache’ import Map from ‘can–m…

---

## [Template aquisition in Can 4.x](https://forums.bitovi.com/t/template-aquisition-in-can-4-x/849)

<div class="topic-metadata">

**Author:** [@ron.yuen](https://forums.bitovi.com/u/ron.yuen)\
**Replies:** 15\
**Last updated:** [April 16, 2018, 3:48pm UTC](https://forums.bitovi.com/t/template-aquisition-in-can-4-x/849 "2018-04-16T15:48:34Z")

</div>

I’m upgrading a large suite from can 2.2 to can 4.2. Hell of a lot of changes (:slight\_smile: Previously I could reference a template partial like so : {{\>/templates/my.stache}} and the top level template would silently…

---

## [Problems sorting initial data donejs+mongodb+feathersjs](https://forums.bitovi.com/t/problems-sorting-initial-data-donejs-mongodb-feathersjs/855)

<div class="topic-metadata">

**Author:** [@nriesco](https://forums.bitovi.com/u/nriesco)\
**Replies:** 6\
**Last updated:** [April 16, 2018, 1:20am UTC](https://forums.bitovi.com/t/problems-sorting-initial-data-donejs-mongodb-feathersjs/855 "2018-04-16T01:20:32Z")

</div>

I have issues sorting the data received by a REST API. I created a very simple feathersjs project (https://github.com/nriesco/donejs-sorter-problem-api), you’ll need a DB called donejs\_sorter\_problem\_api a collection na…

---

## [How to use debounce function with CanJS DefineMap view-model method?](https://forums.bitovi.com/t/how-to-use-debounce-function-with-canjs-definemap-view-model-method/859)

<div class="topic-metadata">

**Author:** [@cherif\_b](https://forums.bitovi.com/u/cherif_b)\
**Replies:** 0\
**Last updated:** [April 15, 2018, 9:44pm UTC](https://forums.bitovi.com/t/how-to-use-debounce-function-with-canjs-definemap-view-model-method/859 "2018-04-15T21:44:10Z")

</div>

I just want to share this Stackoverflow topic with the community:

---

## [DoneJS Contributors Meeting – 2018-04-13](https://forums.bitovi.com/t/donejs-contributors-meeting-2018-04-13/846)

<div class="topic-metadata">

**Author:** [@chasen](https://forums.bitovi.com/u/chasen)\
**Replies:** 4\
**Last updated:** [April 13, 2018, 3:51pm UTC](https://forums.bitovi.com/t/donejs-contributors-meeting-2018-04-13/846 "2018-04-13T15:51:41Z")

</div>

Please add topics for discussion (and your status if you’re a contributor). Live stream:

---

## [Improved Error Handling in DoneJS](https://forums.bitovi.com/t/improved-error-handling-in-donejs/835)

<div class="topic-metadata">

**Author:** [@matthewp](https://forums.bitovi.com/u/matthewp)\
**Replies:** 0\
**Last updated:** [March 27, 2018, 4:42pm UTC](https://forums.bitovi.com/t/improved-error-handling-in-donejs/835 "2018-03-27T16:42:12Z")

</div>

Hey everyone! I just posted a blog about improved error handling in DoneJS. Check it out at https://www.bitovi.com/blog/donejs-error-handling

---

## [DoneJS Feathers JWT Cookie](https://forums.bitovi.com/t/donejs-feathers-jwt-cookie/844)

<div class="topic-metadata">

**Author:** [@roemhildtg](https://forums.bitovi.com/u/roemhildtg)\
**Replies:** 4\
**Last updated:** [April 6, 2018, 2:36am UTC](https://forums.bitovi.com/t/donejs-feathers-jwt-cookie/844 "2018-04-06T02:36:08Z")

</div>

Has anyone gotten donejs to recognize and authenticate a Feathers JWT cookie? I am seeing donejs render the page as if the user was not logged in. My app stache looks like this: {{#if(activeComponentProps)}} {{#if(…

---

## [CanJS 4.0 is out!](https://forums.bitovi.com/t/canjs-4-0-is-out/805)

<div class="topic-metadata">

**Author:** [@justinbmeyer](https://forums.bitovi.com/u/justinbmeyer)\
**Replies:** 2\
**Last updated:** [April 3, 2018, 6:27pm UTC](https://forums.bitovi.com/t/canjs-4-0-is-out/805 "2018-04-03T18:27:35Z")

</div>

Read all about it here: https://www.bitovi.com/blog/canjs-4.0 We say it in the article, but it’s worth saying again, Thank you canjs community!!! We couldn’t have made this happen without all of your help submitting is…

---

## [Hosting alternatives](https://forums.bitovi.com/t/hosting-alternatives/842)

<div class="topic-metadata">

**Author:** [@MisterMole](https://forums.bitovi.com/u/MisterMole)\
**Replies:** 1\
**Last updated:** [April 3, 2018, 5:34pm UTC](https://forums.bitovi.com/t/hosting-alternatives/842 "2018-04-03T17:34:30Z")

</div>

Does anyone know of an alternative to Firebase for hosting? MM

---

## [Implementing window on:Click or document.getElementById](https://forums.bitovi.com/t/implementing-window-on-click-or-document-getelementbyid/839)

<div class="topic-metadata">

**Author:** [@Chetna\_Singh](https://forums.bitovi.com/u/Chetna_Singh)\
**Replies:** 4\
**Last updated:** [April 2, 2018, 3:46am UTC](https://forums.bitovi.com/t/implementing-window-on-click-or-document-getelementbyid/839 "2018-04-02T03:46:27Z")

</div>

How is it possible to implement window.on click functions in DoneJs ? Whenever the user clicks on the window my pop up menu should close.

---

## [Bootstrap 4 alpa 6 problem](https://forums.bitovi.com/t/bootstrap-4-alpa-6-problem/841)

<div class="topic-metadata">

**Author:** [@MisterMole](https://forums.bitovi.com/u/MisterMole)\
**Replies:** 2\
**Last updated:** [March 31, 2018, 1:27pm UTC](https://forums.bitovi.com/t/bootstrap-4-alpa-6-problem/841 "2018-03-31T13:27:07Z")

</div>

Hi, I’m trying to follow the getting started script, but have fallen foul of the first line of code. with I get this error The load bootstrap@4.0.0-alpha.6#less/bootstrap.less!steal-less@1.3.0#less already failed. …

---

## [DoneJS Contributors Meeting – 2018-03-30](https://forums.bitovi.com/t/donejs-contributors-meeting-2018-03-30/837)

<div class="topic-metadata">

**Author:** [@chasen](https://forums.bitovi.com/u/chasen)\
**Replies:** 3\
**Last updated:** [March 30, 2018, 6:23pm UTC](https://forums.bitovi.com/t/donejs-contributors-meeting-2018-03-30/837 "2018-03-30T18:23:59Z")

</div>

Please add topics for discussion (and your status if you’re a contributor). Live stream: We discussed CanJS 5.0 Data Layer at 9:31

---

## [Route.register() not a function](https://forums.bitovi.com/t/route-register-not-a-function/836)

<div class="topic-metadata">

**Author:** [@nada](https://forums.bitovi.com/u/nada)\
**Replies:** 4\
**Last updated:** [March 29, 2018, 6:16am UTC](https://forums.bitovi.com/t/route-register-not-a-function/836 "2018-03-29T06:16:24Z")

</div>

Hi all, using node.js and copying the following from the examples returns “TypeError: route.register is not a function” Any hints what is missing. Everything else in my application works flawlessly and this is the las…

---

## [Using a compute and can.batch() to listen to top level state changes](https://forums.bitovi.com/t/using-a-compute-and-can-batch-to-listen-to-top-level-state-changes/834)

<div class="topic-metadata">

**Author:** [@Mike\_Mitchel](https://forums.bitovi.com/u/Mike_Mitchel)\
**Replies:** 0\
**Last updated:** [March 27, 2018, 2:46pm UTC](https://forums.bitovi.com/t/using-a-compute-and-can-batch-to-listen-to-top-level-state-changes/834 "2018-03-27T14:46:44Z")

</div>

Hi All, I had a performance issue in a CanJS 2.3 app while importing a list of about 200 variables. I assumed it was rendering issue, but when can.batch.() did not fix the problem, Justin helped me find the actual issue…

---

## [Bypass fall-through cache on can-connect model](https://forums.bitovi.com/t/bypass-fall-through-cache-on-can-connect-model/833)

<div class="topic-metadata">

**Author:** [@jfleming](https://forums.bitovi.com/u/jfleming)\
**Replies:** 3\
**Last updated:** [March 25, 2018, 1:44am UTC](https://forums.bitovi.com/t/bypass-fall-through-cache-on-can-connect-model/833 "2018-03-25T01:44:52Z")

</div>

The fall-through cache on superMaps is very useful for using models in stache templates, however there are times when we have javascript code that needs to get data via getList and we won’t want to get stale data. For e…

---

## [CanJS Forms Guide](https://forums.bitovi.com/t/canjs-forms-guide/821)

<div class="topic-metadata">

**Author:** [@phillipskevin](https://forums.bitovi.com/u/phillipskevin)\
**Replies:** 3\
**Last updated:** [March 24, 2018, 4:04pm UTC](https://forums.bitovi.com/t/canjs-forms-guide/821 "2018-03-24T16:04:27Z")

</div>

There is a new Forms Guide available on canjs.com. This is an extensive guide with lots of examples. Here are a few highlights: All about bindings The guide walks through how to use the many types of attribute and even…

---

## [Route parameters issue](https://forums.bitovi.com/t/route-parameters-issue/832)

<div class="topic-metadata">

**Author:** [@Gulok](https://forums.bitovi.com/u/Gulok)\
**Replies:** 1\
**Last updated:** [March 24, 2018, 3:24pm UTC](https://forums.bitovi.com/t/route-parameters-issue/832 "2018-03-24T15:24:10Z")

</div>

Hello Is it possible to read can route data values in view model? Let’s say I have can.route.register(’{page}’); can.route.register(’{page}/{resource}’); can.route.register(’{page}/{resource}/{resourceId}’); can.ro…

---

## [Remove URL encoding in route.js in can js](https://forums.bitovi.com/t/remove-url-encoding-in-route-js-in-can-js/831)

<div class="topic-metadata">

**Author:** [@soultrue](https://forums.bitovi.com/u/soultrue)\
**Replies:** 1\
**Last updated:** [March 23, 2018, 10:43pm UTC](https://forums.bitovi.com/t/remove-url-encoding-in-route-js-in-can-js/831 "2018-03-23T22:43:07Z")

</div>

Hi, I am using canjs 1.X version and as per my requirement, I have to remove URL encoding from my application. I checked the code and after removing the below code(encodeURIComponent) from route.js, it is working fine. …

---

## [Changing route from viewmodel](https://forums.bitovi.com/t/changing-route-from-viewmodel/824)

<div class="topic-metadata">

**Author:** [@robfoweraker](https://forums.bitovi.com/u/robfoweraker)\
**Replies:** 4\
**Last updated:** [March 23, 2018, 7:32am UTC](https://forums.bitovi.com/t/changing-route-from-viewmodel/824 "2018-03-23T07:32:05Z")

</div>

In my applicaiton, in the stache templates I’ve been using routeUrl to change the application page. This works fine. I’ve got some D3js diagrams and clicking on stuff is supposed to change the page. However due to a bug …

---

## [URL encoding and back-button issue in CanJS](https://forums.bitovi.com/t/url-encoding-and-back-button-issue-in-canjs/826)

<div class="topic-metadata">

**Author:** [@Prafull\_Dhadkar](https://forums.bitovi.com/u/Prafull_Dhadkar)\
**Replies:** 4\
**Last updated:** [March 22, 2018, 10:47am UTC](https://forums.bitovi.com/t/url-encoding-and-back-button-issue-in-canjs/826 "2018-03-22T10:47:33Z")

</div>

Hi Team I am working on an application in which we are using CanJS 1.1. Because of some restrictions, we cannot upgrade our CanJS version. we have set our URL format like “www.example.abc#!load/view/pid=123/false” and …

---

## [CanJS 4 Migration questions](https://forums.bitovi.com/t/canjs-4-migration-questions/823)

<div class="topic-metadata">

**Author:** [@robfoweraker](https://forums.bitovi.com/u/robfoweraker)\
**Replies:** 3\
**Last updated:** [March 21, 2018, 5:35pm UTC](https://forums.bitovi.com/t/canjs-4-migration-questions/823 "2018-03-21T17:35:59Z")

</div>

Hi, I recently updated our ‘example’ application from CanJS 3 to CanJS 4. In general it went well and didn’t take very long but I have some questions. Firstly, I had to remove can-define-backup. The current version in …

---

## [DoneJS Contributors Meeting – 2018-03-16 (survey 4 results!)](https://forums.bitovi.com/t/donejs-contributors-meeting-2018-03-16-survey-4-results/822)

<div class="topic-metadata">

**Author:** [@chasen](https://forums.bitovi.com/u/chasen)\
**Replies:** 3\
**Last updated:** [March 19, 2018, 3:04pm UTC](https://forums.bitovi.com/t/donejs-contributors-meeting-2018-03-16-survey-4-results/822 "2018-03-19T15:04:27Z")

</div>

Please add topics for discussion (and your status if you’re a contributor). Live stream (note we’re starting at 10 a.m. Pacific): Summary of the survey results: Proposals we’ve started or have committed to tackling: …

---

## [Improving initial render performance with \<can-defer /\>](https://forums.bitovi.com/t/improving-initial-render-performance-with-can-defer/817)

<div class="topic-metadata">

**Author:** [@chrisbitme](https://forums.bitovi.com/u/chrisbitme)\
**Replies:** 2\
**Last updated:** [March 13, 2018, 11:19pm UTC](https://forums.bitovi.com/t/improving-initial-render-performance-with-can-defer/817 "2018-03-13T23:19:19Z")

</div>

Hey everyone, I was having trouble with initial render performance in my Can v2 project. I was seeing perceived initial render times to be ~20 seconds while the Chrome DevTools performance profiler was running (code bun…

---

## [Conditions for call of DefineMap.prototype.setup?](https://forums.bitovi.com/t/conditions-for-call-of-definemap-prototype-setup/818)

<div class="topic-metadata">

**Author:** [@BairDev](https://forums.bitovi.com/u/BairDev)\
**Replies:** 2\
**Last updated:** [March 12, 2018, 8:25am UTC](https://forums.bitovi.com/t/conditions-for-call-of-definemap-prototype-setup/818 "2018-03-12T08:25:41Z")

</div>

We are actually still updating CanJS in our projects from v2 to v3 and now to v4, so we want to get rid of the good old CanMap (not using .attr and define and stuff anymore). When trying to use DefineMap I could not see …

---

## ["can-globals" namespace error after upgrading to 4.x](https://forums.bitovi.com/t/can-globals-namespace-error-after-upgrading-to-4-x/819)

<div class="topic-metadata">

**Author:** [@Jared\_Stehler](https://forums.bitovi.com/u/Jared_Stehler)\
**Replies:** 9\
**Last updated:** [March 12, 2018, 1:59am UTC](https://forums.bitovi.com/t/can-globals-namespace-error-after-upgrading-to-4-x/819 "2018-03-12T01:59:49Z")

</div>

I’m getting the following error after upgrading to can 4, and am not quite sure how to proceed: Error: You can't have two versions of can-globals, check your dependencies at Object.eval (http://localhost:8082/node\_…

---

## [Using codemods 3 -\> 4](https://forums.bitovi.com/t/using-codemods-3-4/806)

<div class="topic-metadata">

**Author:** [@eben\_roux](https://forums.bitovi.com/u/eben_roux)\
**Replies:** 8\
**Last updated:** [March 7, 2018, 4:35am UTC](https://forums.bitovi.com/t/using-codemods-3-4/806 "2018-03-07T04:35:48Z")

</div>

I am upgrading my projects to canjs 4 and when I run can-migrate --apply \*\*/\*.js --can-version 4 I get what appears to be “help” output: \[image\] When I run can-migrate \*\*/\*.\* --can-version 4 as shown as an example in t…

---

## [DoneJS Contributors Meeting – 2018-03-02](https://forums.bitovi.com/t/donejs-contributors-meeting-2018-03-02/816)

<div class="topic-metadata">

**Author:** [@matthewp](https://forums.bitovi.com/u/matthewp)\
**Replies:** 4\
**Last updated:** [March 2, 2018, 4:37pm UTC](https://forums.bitovi.com/t/donejs-contributors-meeting-2018-03-02/816 "2018-03-02T16:37:13Z")

</div>

Please add topics for discussion (and your status if you’re a contributor). Live Stream: https://www.youtube.com/watch?v=Z3CV0zmMFoE

---

## [Better 404 Error Messages in DoneJS](https://forums.bitovi.com/t/better-404-error-messages-in-donejs/815)

<div class="topic-metadata">

**Author:** [@matthewp](https://forums.bitovi.com/u/matthewp)\
**Replies:** 0\
**Last updated:** [March 1, 2018, 6:56pm UTC](https://forums.bitovi.com/t/better-404-error-messages-in-donejs/815 "2018-03-01T18:56:38Z")

</div>

Steal 1.7.0 introduces improved error messages when we encounter a 404. Previously you would see an error like this: \[36687970-0de91776-1af9-11e8-83e3-b48489f9aa63\] Now, instead, you will see this: \[36808550-6b835694…

---

## [Using \`init\` on \`DefineMap\`](https://forums.bitovi.com/t/using-init-on-definemap/814)

<div class="topic-metadata">

**Author:** [@eben\_roux](https://forums.bitovi.com/u/eben_roux)\
**Replies:** 5\
**Last updated:** [February 24, 2018, 10:23pm UTC](https://forums.bitovi.com/t/using-init-on-definemap/814 "2018-02-24T22:23:10Z")

</div>

I’m trying to make use of the init function on a DefineMap: The output seems to do something weird with the input to the new Map(). You’ll see that the input argument is split into the individual characters in the con…

[Previous page](https://forums.bitovi.com/latest.md?page=4)

[Next page](https://forums.bitovi.com/latest.md?page=6)
