Re : StealJs: default inclusion of different files for development and build
I would conditionally add deps to your main module.
View ArticleRe : config of new steal
You should be using the minor branch of canjs now. However there's a bug that's preventing the build from working. I've submitted a pull request that fixes it but it hasn't been merged yet.
View ArticleRe : StealJs: default inclusion of different files for development and build
I would conditionally add deps to your main module How do I distict build process from development load? What value does System.env have while build process? And the second thing what if need to load...
View ArticleSteal + Can.js (minor branch) ReferenceError: window is not defined
While build process (if import stache files) I've got an error: error [ReferenceError: window is not defined] ReferenceError: window is not defined Is there is a way to work it around?
View ArticleRe : StealJs: default inclusion of different files for development and build
Import them in your stealconfig.js. It can have dependencies too. Sent from my iPhone On Aug 19, 2014, at 8:19 AM, JavaScriptMVC Forum <noreply@zohodiscussions.com> wrote:
View ArticleRe : Steal + Can.js (minor branch) ReferenceError: window is not defined
This should not happen with minor. Is System.buildConfig set like in the example app? Do you know what is referencing window? Sent from my iPhone On Aug 19, 2014, at 11:48 AM, JavaScriptMVC Forum...
View ArticleRe : Steal + Can.js (minor branch) ReferenceError: window is not defined
Error is not so information or [ReferenceError: window is not defined] ReferenceError: window is not defined at eval (eval at __eval...
View ArticleRe : StealJs: default inclusion of different files for development and build
Import them in your stealconfig.js. It can have dependencies too. How do I indicated that 'core/debug' should be imported only for development mode and 'core/only-build' only while build?
View ArticleRe : StealJs: default inclusion of different files for development and build
@alex using System.buildConfig, which you can see an example of here: https://github.com/bitovi/steal-can-example/blob/master/stealconfig.js#L59
View ArticleRe : StealJs: default inclusion of different files for development and build
System . buildConfig = { map : { "can/util/util" : "can/util/domless/domless" }}; What will be included in final build (built app)? "can/util/util" or "can/util/domless/domless" ?
View ArticleRe : StealJs: default inclusion of different files for development and build
Whatever you have can/util mapped to in your normal config, probably can/util/jquery. Domless is just used for compiling your templates in the build process.
View ArticleRe : StealJs: default inclusion of different files for development and build
Ok. Thant is fine. Well probably my terms are not completely correct. What was talking about t 'core/debug' - that should be loaded only while development. and 'only-build' that should be loaded ONLY...
View ArticleSteal instantiated CSS can not make work
I have a bundle called web, main module is called apps/web/web web.js and web.css are placed to /assets/web.js and /assets/web.css to load from there I set bundlePath. And then I want to prevent...
View ArticleRe : Steal instantiated (preventing CSS from loading)
You need the !$css like is shown here: http://stealjs.com/docs/System.instantiated.html Sent from my iPhone On Aug 24, 2014, at 2:27 AM, JavaScriptMVC Forum <noreply@zohodiscussions.com> wrote:
View ArticleRe : Steal instantiated (preventing CSS from loading)
Right, thanks. ) What is the reason for such sophisticated syntax?
View ArticleRe : Steal instantiated (preventing CSS from loading)
You have to put the full and final module name, that's why !$css. You can also provide the module value. CSS modules have no module value, that's why you just write null. You could use this to add...
View ArticleRe : config of new steal
thx matthew, but it still does not work, it now throws p { margin-bottom: 0.25cm; line-height: 120.0%; } error [TypeError: Cannot read property 'defaultView' of undefined] TypeError: Cannot read...
View Articlecan.stache in IE 11
Anyone had issues with this? I get an error "Unable to get property 'replace' of undefined or null reference" in can.stache.js at line 162 (using 2.1.3, jquery version). This can be fixed by adding:...
View ArticleRe : can.stache in IE 11
I've not seen that. Does it happen no matter what is in your template? In what form are you using CanJS? AMD / standaone / custom built download?
View Article