Quantcast
Browsing all 3491 articles
Browse latest View live

Re : Can you use a page's existing jQuery in steal?

I figured out steal.config.map I think!  What clued me in was the docs for steal.id and steal.idToUri.steal.config({    map: {        "*": {            "jquery/jquery.js" : "jquery", // mapped items...

View Article


Re : Can you use a page's existing jQuery in steal?

No.  Now my /js/jquery.min.js is being loaded twice and interfering with plugins attached (mainly twitter bootstrap.js)....

View Article


Re : Can you use a page's existing jQuery in steal?

Nope.  That just gets a 404 for /object/object.  I'm guessing this isn't supported in a stealconfig.Hmm...still searching.  2 hours...

View Article

Re : Can you use a page's existing jQuery in steal?

This doesn't work.   It still creates a 404: http://stackoverflow.com/questions/16296539/javascriptmvc-canjs-loading-without-jqueryIt still causes a 404, obviously.  What was wrong with ignore:?

View Article

Re : CanJS US Tour Cities

Awesome!

View Article


Re : Can you use a page's existing jQuery in steal?

What documentation were you looking at? It recently got quite a bit of love and is much more clear and up to date. You can see that here:http://javascriptmvc.com/docs/steal.htmlfilemanager in that...

View Article

Re : Not include loading (stealing) production.css in production.js

Include a script tag just above your steal.js include and put this in there:<script>      steal = {                        executed: ["path/to/production.css"]        };</script>This tells...

View Article

Re : Can you use a page's existing jQuery in steal?

Curtis, thanks, however it doesn't appear that steal can build because: !!!!!!!!!!! ERROR !!!!!!!!!!!-message    = Cannot call method "extend" of undefined-fileName   =...

View Article


Image may be NSFW.
Clik here to view.

Re : CanJS US Tour Cities

And next year CanJS Europe Tour! P.S. would love to watch some streams if this is possible!

View Article


Using .mustache view with query string?

I need to use views with querystring for language so it can be cached properly:code:this.element.html( this.view('myview.mustache?lang=en', { myvar : 'value' }));but it appends .ejs to the view and...

View Article

Re : Can you use a page's existing jQuery in steal?

Can anyone tell me if this is even possible?  Really stuck here.

View Article

Re : Can you use a page's existing jQuery in steal?

Still cannot build production.js because it wants to include jquery and can't find it.  Is there any way to fake steal buildjs into thinking it has jquery?

View Article

StealJS: Can production.js be built dependent on window.jQuery? How so?

I guess I will try rewording this in a brand new post.  Very vanilla website has existing jQuery and bootstrap $.fn plugins.  Need to build production.js that is CanJS app which depends on...

View Article


Re : Can you use a page's existing jQuery in steal?

You need jQuery to be loaded in production, but ignore should be in shim.shim: {  jquery: {    exports: "jQuery",    ignore: true  }}

View Article

Re : Cannot build (JMVC 3.3) !

Thanks for help Justin,Yes there are some files like "path/to/file.js" in the steal params.But NO js file is used in the code with a pattern like" xxx + path/to/file.js".I tested with 2 folder...

View Article


Re : Can you use a page's existing jQuery in steal?

Justin thank you so much for responding but I still can't get past that error when building.  Here is my stealconfig.js:steal.config({    map: {        "*": {            "jquery/jquery.js" : "jquery",...

View Article

Re : javascriptmvc 3.3.0 and steal.config

Bumping this up, I have the same question about how to have multiple steal.config - is it even possible?

View Article


Re : Can you use a page's existing jQuery in steal?

You need the real jQuery. Sent from my iPhoneOn Sep 13, 2013, at 3:49 AM, JavaScriptMVC Forum <noreply@zohodiscussions.com> wrote:

View Article

Re : Can you use a page's existing jQuery in steal?

Do you think there's any value in being able to build with steal and depending on but omitting known, previously loaded global objects?

View Article

Documentation typo

On http://canjs.com/docs/can.Construct.super.htmlvar Cuber = Squarer.extend({ raise: function(n) { return n * this_super(n); }}, {});should be var Cuber = Squarer.extend({ raise: function(n) { return n...

View Article
Browsing all 3491 articles
Browse latest View live