Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 10:20
    greenkeeper[bot] labeled #5426
  • 10:20
    greenkeeper[bot] opened #5426
  • 10:19

    greenkeeper[bot] on can-attribute-observable-2.0.2

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

  • Nov 18 21:05

    nlundquist on master

    Update dist for release (compare)

  • Nov 18 21:05

    nlundquist on v6.2.6

    Update dist for release 6.2.6 (compare)

  • Nov 18 20:22
    cherifGsoul review_requested #5425
  • Nov 18 20:22
    cherifGsoul commented #5425
  • Nov 18 20:19
    cherifGsoul synchronize #5425
  • Nov 18 20:19

    cherifGsoul on obserbale-properties-update-debugging-guid

    Fix observable properties wordi… (compare)

  • Nov 18 20:12

    nlundquist on master

    update can-stache-converters de… (compare)

  • Nov 18 20:12
    nlundquist closed #5424
  • Nov 18 19:24
    cherifGsoul review_requested #5425
  • Nov 18 19:24
    cherifGsoul opened #5425
  • Nov 18 19:21

    cherifGsoul on obserbale-properties-update-debugging-guid

    Remove ViewModel wording from d… (compare)

  • Nov 18 19:20

    phillipskevin on same-as-master

    (compare)

  • Nov 17 21:58
  • 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
Matthew Phillips
@matthewp
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?
Christopher Oliphant
@RALifeCoach
builtit and many problems - in both cases the build.js only has a single main
Julian
@pYr0x
you have to define a main entry point
in my repo?
Christopher Oliphant
@RALifeCoach
The documentation you pointed me to says to do a multiBuild you specify main: [‘xxx’, ‘yyy’]. You then sent me two examples neither one had this multiple mains in their build.js.
Julian
@pYr0x
as i said ;)
it is not up-to-date. i can make a PR later this day
Christopher Oliphant
@RALifeCoach
okay - I will wait until then
Julian
@pYr0x
k
i will inform you
Christopher Oliphant
@RALifeCoach
That is still using can 2.3. I need can 3.0