by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Jun 02 07:44
    greenkeeper[bot] commented #1120
  • Jun 02 07:44

    greenkeeper[bot] on globby-11.0.1

    fix(package): update globby to … (compare)

  • May 26 14:39
    donkeybanana edited #1519
  • May 26 14:38
    donkeybanana edited #1519
  • May 26 14:38
    donkeybanana opened #1519
  • May 23 11:44
    greenkeeper[bot] commented #1122
  • May 23 11:44

    greenkeeper[bot] on mocha-7.2.0

    chore(package): update mocha to… (compare)

  • May 20 21:22
    greenkeeper[bot] commented #1152
  • May 20 21:18

    greenkeeper[bot] on object.entries-1.1.2

    chore(package): update object.e… (compare)

  • May 18 18:56
    greenkeeper[bot] commented #1137
  • May 18 18:56

    greenkeeper[bot] on terser-4.7.0

    fix(package): update terser to … (compare)

  • May 14 04:40
    greenkeeper[bot] commented #1117
  • May 14 04:40

    greenkeeper[bot] on jshint-2.11.1

    chore(package): update jshint t… (compare)

  • May 10 06:15
    greenkeeper[bot] commented #1116
  • May 10 06:15

    greenkeeper[bot] on ws-7.3.0

    fix(package): update ws to vers… (compare)

  • May 04 22:56

    greenkeeper[bot] on jquery-3.5.1

    (compare)

  • May 04 22:52

    greenkeeper[bot] on jquery-3.5.1

    chore(package): update jquery t… (compare)

  • May 01 16:38
    matthewp closed #1515
  • May 01 16:38
    matthewp commented #1515
  • May 01 16:33
    matthewp commented #1515
Kevin Phillips
@phillipskevin
you could ask on the forums
maybe someone has one
Aryan J
@AryanJ-NYC
Huge help. Thanks a lot.
Kevin Phillips
@phillipskevin
no problem
Marc Godard
@MarcGodard
Hey guys... I am trying to add jquery inputmask to a project... having some trouble
But then I get Potentially unhandled rejection [6] Error: Error loading "inputmask" at file:/Users/marcgodard/project/site/inputmask.js
where site is the base of my project
Anyone have experience with jquery inputmask?
Justin Meyer
@justinbmeyer
DoneJS Contributors Meeting is about to start: https://www.youtube.com/watch?v=1XHtmqykzFM
Aryan J
@AryanJ-NYC
Screen Shot 2016-10-27 at 10.19.04 PM.png
Anyone ever get this error message
main.js:19Error loading "C" at http://localhost:8080/C.js
Error loading "C" from "src/main" at http://localhost:8080/src/main.js
Not Found: http://localhost:8080/C.js undefined
I'm trying to move to production.
Aryan J
@AryanJ-NYC
So root of it comes from Angular2's Router and StealJS not playing nicely.
App works in productions but StealJS' build step breaks it.
Paul Tichonczuk
@tracer99
is there any graceful way of rendering a stache template as a subtemplate in EJS? In mustache you simply did
<%== can.view.render('template', object) %>
and this worked. however, if the template is a stache file (we're slowly converting), the output is [object DocumentFragment]
We found a workaround which is to use the element callback and manually appendChild ie
<%= (el)->el.appendChild(can.stache('template', object)) %>
This has drawbacks, not least of which is that we need a bunch of throw away containers.
Matthew Phillips
@matthewp
Yeah, I think the fact that ejs works with strings while stache uses fragments makes that the only real way
Paul Tichonczuk
@tracer99
@matthewp thanks
Paul Tichonczuk
@tracer99
So i'm back to trying to get paths to work in our older CanJS projects like DoneJS projects work. This project has had all it's libraries upgraded to the latest releases. The thing I'm after is being able to reference node_modules without having to specific "node_modules/" before every package.
I've set directotories: {src: "ucp2"} but that doesn't seem to make any change.
Kevin Phillips
@phillipskevin
you’ve set that under system?
if you’re loading steal from node_modules, it should automatically be able to find other node modules
Paul Tichonczuk
@tracer99
yes
and yes
Kevin Phillips
@phillipskevin
ok, I think you can only set directories.lib
Paul Tichonczuk
@tracer99
sorry
typo. it is lib
Kevin Phillips
@phillipskevin
ok
Paul Tichonczuk
@tracer99
I have like 8 paths entries that convert "package/package": "node_modules/package/package.js";
otherwise I get 404s for every node module imported
and luckily, none of those import other node modules
as it would fail
the issue I'm having now is getting steal-mocha working. as it does import other libraries and fails ....
package.json here: http://pastebin.com/ZvqHNTqs
Paul Tichonczuk
@tracer99
main script call <script type="text/javascript" src="/node_modules/steal/steal.js" main="ucp2/ucp2"></script>
Matthew Phillips
@matthewp
what error are you getting?
Justin Meyer
@justinbmeyer
Paul Tichonczuk
@tracer99
@matthewp 404s in the browser. So when I try to import 'chai'; the browser tries to load /chai/chai.js instead of /node_modules/chai/chai.js
I can create path entries for these, but it cascades down to every library that is imported and I'd need like 20 path entries.
Matthew Phillips
@matthewp
@tracer99 you have chai mapped to chai/chai
i think you don't need that configuration
Paul Tichonczuk
@tracer99
@matthewp that's just one example. steal-mocha same issue.
Julian
@pYr0x
@tracer99 can you try to use the latest steal 0.16.x version
if that will not help, maybe you can try steal 1.0
Here we used steal and chai also