Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Nov 14 17:40
    nlundquist edited #5424
  • Nov 14 17:40
    nlundquist edited #5424
  • Nov 14 17:39
    nlundquist opened #5424
  • Nov 14 17:39
    nlundquist review_requested #5424
  • Nov 14 17:39

    nlundquist on 107-update-converter-demos

    update can-stache-converters de… (compare)

  • Nov 14 14:32
    greenkeeper[bot] labeled #5423
  • Nov 14 14:32
    greenkeeper[bot] opened #5423
  • Nov 14 14:32

    greenkeeper[bot] on can-route-5.0.1

    fix(package): update can-route … (compare)

  • Nov 13 13:09

    greenkeeper[bot] on steal-tools-2.2.3

    (compare)

  • Nov 13 12:55

    greenkeeper[bot] on steal-tools-2.2.3

    chore(package): update steal-to… (compare)

  • Nov 13 01:44

    greenkeeper[bot] on @webcomponents

    (compare)

  • Nov 13 01:42

    greenkeeper[bot] on @webcomponents

    chore(package): update @webcomp… (compare)

  • Nov 12 05:28
    greenkeeper[bot] commented #5392
  • Nov 12 05:28

    greenkeeper[bot] on core-js-3.4.1

    chore(package): update core-js … (compare)

  • Nov 11 18:03
    greenkeeper[bot] labeled #5422
  • Nov 11 18:03
    greenkeeper[bot] opened #5422
  • Nov 11 18:03

    greenkeeper[bot] on @feathersjs

    chore(package): update @feather… (compare)

  • Nov 11 18:02
    greenkeeper[bot] commented #5401
  • Nov 11 18:02

    greenkeeper[bot] on @feathersjs

    chore(package): update @feather… (compare)

  • Nov 10 23:39

    greenkeeper[bot] on @octokit

    (compare)

Leath Cooper
@IcculusC
I just want to know what "sausage of loose coupling" means
sounds yummy
also sounds like someone asked whoever was writing the docs what they wanted for breakfast while they were typing them
Matthew Phillips
@matthewp
hah, i didn't write that one, not familiar with the term
Thomas Sieverding
@Bajix
I like my monkey patching w/ a side of sausage pl0x
Matthew Phillips
@matthewp
it's a way for a package like can-route to be able to create Maps without depending on can-define or can-map, etc.
Christopher Oliphant
@RALifeCoach
I am still trying to get build to work
Matthew Phillips
@matthewp
@RALifeCoach what does your build script look like
Christopher Oliphant
@RALifeCoach
var stealTools = require("steal-tools");

stealTools.build();
Matthew Phillips
@matthewp
I think there's a bug, make that be
stealTools.build({ config: __dirname + "/package.json!npm" });
instead
I think config is required in the build
even though it probably shouldn't be
got to go, if that is it drop me a note so I can fix the docs tomorrow
Christopher Oliphant
@RALifeCoach
Error loading "can/view/stache/add_bundles" at file:/git/pgatour-cq-v2/front-end/can/view/stache/add_bundles.js
Error loading "can/view/stache/add_bundles" from "done-autorender@0.8.0#autorender" at file:/git/pgatour-cq-v2/front-end/node_modules/done-autorender/src/autorender.js
ENOENT: no such file or directory, open '/git/pgatour-cq-v2/front-end/can/view/stache/add_bundles.js'
I have moved forward
Christopher Oliphant
@RALifeCoach
But not very far forward
Leath Cooper
@IcculusC
is can/view/stache not 2.x
Justin Meyer
@justinbmeyer
@RALifeCoach are you trying to build a 2.3 or 3.0 app?
it also seems you are trying to build a DoneJS app
I don't think you're getting started, so I'm not sure where these problems suddenly sprung up. If you're making a DoneJS app, the guides work and should create a working boilerplate app. But again, I'm not sure where you are. Did you create a forum post?
there is no can/view/stache in 3.0
Justin Meyer
@justinbmeyer
just pushed out some more docs updates: http://canjs.github.io/canjs/ ... lots of little fixes in can-connect, can-stache-bindings updates, can-set updates
Christopher Oliphant
@RALifeCoach
@justinbmeyer I am trying to build 3.0 can app
Christopher Oliphant
@RALifeCoach
I am able to get the build to work! New question. I want the build to separate out can files amd non-can files
@justinbmeyer ^^
Matthew Phillips
@matthewp
@RALifeCoach why?
I don't think we have a way to allow you to customize the build in that way
Christopher Oliphant
@RALifeCoach
because these modules fit into a larger infrastructure
They become components in a CMS
We don’t want to bundle all of canjs in with each component
in 2.3, not using steals, we were okay because we could include the canjs libraries separately
Julian
@pYr0x
you can use multi main
Christopher Oliphant
@RALifeCoach
@pYr0x sounds great - can you point me to the documentation on that?
Christopher Oliphant
@RALifeCoach
Please point me to the documentation
Christopher Oliphant
@RALifeCoach
@pYr0x @justinbmeyer Can someone point me to the documentation?
here is a test repo i created, it is not up-to-date. i can make a PR later this day
Christopher Oliphant
@RALifeCoach
thanks
Julian
@pYr0x
with new build and working build
see also
Christopher Oliphant
@RALifeCoach
I had found the many-problems item - that’s how I managed to get build to work
Christopher Oliphant
@RALifeCoach
but neither example have main: [‘xxx’, ‘yyy’]
Julian
@pYr0x
?
Christopher Oliphant
@RALifeCoach

Multi-page use
The following uses steal-tool's build method to programatically build out the "login" and "homepage" modules as bundles.

var stealTools = require("steal-tools");

var promise = stealTools.build({
main: ["login","homepage"],
config: __dirname+"/config.js"
},{
bundleSteal: true,
// the following are the default values, so you don't need
// to write them.
minify: true,
debug: false,
quiet: false,
bundleDepth: 3,
mainDepth: 3
});

Julian
@pYr0x
which examples?