Uploaded image for project: 'CouchDB'
  1. CouchDB
  2. COUCHDB-1381

Support Windows 8 Metro Apps

    XMLWordPrintableJSON

Details

    • Dont Know

    Description

      jquery.couch.js doesn't work for Windows 8 Metro apps. Below code works fine on browsers. However when run within a Windows 8 Metro app, it throws an error in line 665 jquery.couch.js: alert undefined.

      If this is hard to fixed, any alternative javascript library recommendation is welcome.

      <!DOCTYPE html>
      <html>
      <head>
      <title>CouchDB jQuery Examples</title>
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
      <script src="js/json2.js"></script>
      <script src="js/sha1.js"></script>
      <script src="js/jquery.js"></script>
      <script src="js/jquery.couch.js"></script>
      <script src="js/jquery.dialog.js"></script>
      </head>
      <body>
      <script>

      console.log('starting');
      $.couch.urlPrefix = "http://localhost:5984";
      $.couch.db("_users").allDocs({
      success: function (data)

      { console.log(); }

      });
      console.log('done');
      </script>
      </body>
      </html>

      Attachments

        Activity

          People

            Unassigned Unassigned
            pokerincome Chang Luo
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: