Skip to content
This repository has been archived by the owner on Apr 16, 2019. It is now read-only.

$.ui undefined #690

Closed
ttback opened this issue May 29, 2014 · 10 comments
Closed

$.ui undefined #690

ttback opened this issue May 29, 2014 · 10 comments

Comments

@ttback
Copy link

ttback commented May 29, 2014

I am trying the tabbed app template, and I realize $.ui isn't defined so I couldn't switch panels dynamically with $.ui.loadContentDiv("#panelID"). I didn't change anything on the template that came with XDK, so did the API endpoints change?

@imaffett
Copy link
Contributor

You need to report this at https://forums.html5dev-software.intel.com/ - the templates are not provided by App Framework

@imaffett
Copy link
Contributor

FYI - I did verify your issue. I will also log a bug with the developer team about the template.

@ttback
Copy link
Author

ttback commented May 30, 2014

Great, I will post there. I also had this issue here related to that template, it looks outdated: krisrak/appframework-templates#3

I am doing some workaround since there's something I want to get done in about 10 days. But it would be nice if the template is updated since it's mostly new people who start with templates.

I also realize that the templates are based on the old jQuery 1.10 integration code, it would be nice to jump to jQuery 2.0 since it has been rewritten for mobile support.

@imaffett
Copy link
Contributor

@ttback - it's a long story :) The templates are built for App Designer, which used to insert jQuery into App Framework apps, even though it wasn't needed. That's been fixed.

I asked the team to upgrade the templates to the latest version of App Framework. Thanks for the feedback.

@ttback
Copy link
Author

ttback commented May 30, 2014

Would love to know where I can find the latest one when it's released, I'd love to update it as soon as possible. :)

After trying this over the weekend, I like the template raw code better honestly, the Designer looks great in product demos and marketing news but honestly it only adds a new layer of mystery when things don't work and generates a lot code changes when you just touch a row or column. I was wrestling with it for a hour just for a simple task like getting rid of space on both side of a row of list module and failed, :( Without krisrak's code, I would have been still stuck on understanding the css.

A collection of good jsfiddles prob would get people up to speed faster.

@imaffett
Copy link
Contributor

I like the idea of jsfiddles (or others). I'll look into it.

@ttback
Copy link
Author

ttback commented May 30, 2014

@imaffett by the way, there is something i can't get around at the moment. When I do an input field like the example code does, the keyboard will "permanently" move the input field upward(even to behind the header) and does not come down when keyboard is gone. Is it also related to $.ui not defined?

@ttback
Copy link
Author

ttback commented May 30, 2014

@imaffett you guys should also check out http://www.codepen.io/ and maybe get an irc or hipchat channel.

@imaffett
Copy link
Contributor

We used Codepen on the Intel Developer Zone, it's a nice tool.

The big problem with irc or hipchat is getting resources devoted to it.

@ttback
Copy link
Author

ttback commented May 30, 2014

@imaffett understood

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants