[ 9 posts ]

Simon Gilligan

  • Username: sgilligan
  • Joined: Wed Jun 16, 2010 4:35 pm
  • Posts: 76
  • Location: Victoria, Australia
  • Offline
  • Profile

3.5.0pr1 Loader Problem

Post Posted: Tue Dec 13, 2011 6:18 am
+0-
Hi All,

If I replace my 3.4.1 seed with the new 3.5.0pr1 seed, I'm finding non of my modules load. All YUI modules load perfectly. However, if in my config I turn off combine, my modules then load:

Code:
var config = {
       filter: 'debug',                                             
       debug: true,
       combine: false,              /* TURN OFF COMBINE */
       groups: {
            js: {   
                    base: "/shared/yui/",
                    modules: {
                             'share': {
                                     path:'share/share.js',
                                     requires: ['querystring-stringify', 'overlay', 'widget-modality', 'widget-autohide']
                             }
                    }
            }
       }
};   



Is anyone else having this problem? Am I doing something strange with my config? If I revert to 3.4.1, all is good.

Cheers,
Simon

Alberto Santini

YUI Contributor

  • Offline
  • Profile

Re: 3.5.0pr1 Loader Problem

Post Posted: Tue Dec 13, 2011 7:15 am
+0-
Hello Simon.

I have the same issue.

Maybe we should fill a ticket.

Regards,
Alberto

J. Shirley

YUI Contributor

  • Username: jshirley
  • Joined: Mon Sep 19, 2011 8:41 am
  • Posts: 12
  • GitHub: jshirley
  • Gists: jshirley
  • IRC: jshirley
  • Offline
  • Profile

Re: 3.5.0pr1 Loader Problem

Post Posted: Tue Dec 13, 2011 7:29 am
+0-
If you move the `combine: false` into the groups.js section, I believe it would work.

A ticket should be filed at the minimum, since this is a behavior change and may require some documentation to go along with it.

JB Malatrasi

  • Username: JumBay
  • Joined: Thu Sep 17, 2009 4:59 am
  • Posts: 23
  • Location: France
  • Twitter: JumBay
  • Offline
  • Profile

Re: 3.5.0pr1 Loader Problem

Post Posted: Tue Dec 13, 2011 7:34 am
+0-
Hi,

Same issue for me too.

Dav Glass

  • Username: davglass
  • Joined: Thu Aug 28, 2008 9:28 am
  • Posts: 2088
  • Location: Marion, IL, US
  • Twitter: davglass
  • GitHub: davglass
  • Gists: davglass
  • IRC: davglass
  • Offline
  • Profile
Tags:

Re: 3.5.0pr1 Loader Problem

Post Posted: Tue Dec 13, 2011 7:59 am
+0-
Yes, please file a ticket with your repro case so I can add a test to the system for this.

Alberto Santini

YUI Contributor

  • Offline
  • Profile

Re: 3.5.0pr1 Loader Problem

Post Posted: Wed Dec 14, 2011 12:05 am
+0-
Hello Dav.

Filed:
http://yuilibrary.com/projects/yui3/ticket/2531597

Thanks,
Alberto

Simon Gilligan

  • Username: sgilligan
  • Joined: Wed Jun 16, 2010 4:35 pm
  • Posts: 76
  • Location: Victoria, Australia
  • Offline
  • Profile
Tags:

Re: 3.5.0pr1 Loader Problem

Post Posted: Wed Dec 14, 2011 3:43 am
+0-
Hi Alberto,

Thanks for that - sorry I've only just got back to my computer. I've created a fiddle showing the problem:

http://jsfiddle.net/simongilligan/cZWjW/1/

I'll add this to your ticket.

Cheers

J. Shirley

YUI Contributor

  • Username: jshirley
  • Joined: Mon Sep 19, 2011 8:41 am
  • Posts: 12
  • GitHub: jshirley
  • Gists: jshirley
  • IRC: jshirley
  • Offline
  • Profile

Re: 3.5.0pr1 Loader Problem

Post Posted: Wed Dec 14, 2011 7:00 am
+0-
I posted http://yuilibrary.com/projects/yui3/ticket/2531587 prior to that, (and 2531597 has been marked as a duplicate)

I've also found some inconsistencies with gallery and different combo roots from 3.4.1 to 3.5.0pr1 I've listed in the ticket (pending Dav's assessment if that warrants another ticket or if it's the same thing)

einarq

  • Joined: Mon Mar 30, 2009 12:59 am
  • Posts: 47
  • Offline
  • Profile

Re: 3.5.0pr1 Loader Problem

Post Posted: Fri Dec 16, 2011 12:51 am
+0-
I posted this one about YUI 2 in 3, probably a duplicate:
http://yuilibrary.com/projects/yui3/ticket/2531576
  [ 9 posts ]
Display posts from previous:  Sort by  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum