Giter Club home page Giter Club logo

jquery-win8's People

Contributors

elijahmanor avatar eliperelman avatar jonathansampson avatar redwolves avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

jquery-win8's Issues

Exception?

I'm wondering if anyone tried the current version of jquery-win8, because I ran into an exception:

'WWAHost.exe' (Script): Loaded 'Script Code (MSAppHost/1.0)'.
Exception was thrown at line 5357, column 6 in ms-appx://a56892a0-566a-4680-8e82-485cb0379a86/res/jquery-1.8.2-win8-1.0.js
0x800a139e - JavaScript runtime error: SyntaxError
The program '[3668] WWAHost.exe' has exited with code -1 (0xffffffff).

It's part of the selector function. Any idea why this happens?

Clear up confusion on the purpose of win8-jquery

Seems that there is confusion on the purpose of this library.

For instance: Does jQuery not work well on browsers in Windows 8? (which it does need to be clear it has issues on windows 8 apps)

Encoding error when running App Certification Kit

Hi,
I am having trouble with the App Certification Kit while trying to create a package for the Windows 8 Store.
My app is clearlt made with javascript and I use a bunch of libraries such as:

  • jquery-win8
  • jquery-ui
  • twitter bootstrap
  • underscore.js
  • backbone.js

Plus my own library code of course.

The application works fine, but the problem appears when trying to validate the app using the ACK, which tells me that the jquery file comes with the wrong encoding. Trying the suggested solution(saving the file again changing the encoding to UTF-8) doesn't solve the problem, even though it worked with other files that had the same issue (underscore, backbone, bootstrap, etc).

The error message I get can be seen here: http://twitter.yfrog.com/z/gyfhvvrp

Some information on my environment:

  • Windows 8 Pro (version 6.2, build 9200)
  • Visual Studio Express 2012 for Windows 8 (version 11.0.51106.01 Update 1)
  • .Net Framework 4.5.50709
  • Runs within a VMWare Fusion instance

Is there any other information I can provide to help solve this problem?

this.appendChild(e) exception

Hi!

I've tried to copy some of the demos in ToDoMVC into a Win8 app but cannot get any to run because they all throw an exception on this.appendChild(e)

Is this a bug?

Version not specified

I'm not sure how you would plan to do this, but in trying to leverage ember.js (it specifically checks for the version of jQuery used) and in this project the version is currently set to @Version

No support for cross-domain JSONP?

Forgive me if this has been covered before, but I'm having an issue utilizing JSONP to make cross-domain ajax calls.

The jquery-win8 library is working very well for just about everything else, though. If an ajax call uses 'jsonp' the call is made within a WinRT application, the typical "An app can’t load remote web content in the local context." error is generated.
For example:

$.ajax({
    url: "http://external_server.com/api_endpoint",
    dataType: 'jsonp',
    contentType: "application/json; charset=utf-8",
    data: {message: "some_message"},
    success: function(rdata){ 
        console.log("success!");
    },
    error: function(edata){
        console.log("ERROR:" + edata.status + ", " + edata.statusText);
    }
});

I have come up with a workaround, using an IFRAME executing in the web context (url protocol of "ms-appx-web:"), and then using .postMessage to tunnel back and forth, with the IFRAME script making the actual JSONP call above. But this seems like a lot of work and will incur some performance penalties for the indirection.

Question(s):

  • Is JSONP ever going to be natively supported by this library?
  • If not, (or if it will take a while) are there any other approaches to supporting cross-domain ajax that we can take?
  • Is the IFRAME Tunneling approach unsound? Is there a possibility of MS shutting that down in the future?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.