Details

    • Skill Level:
      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>

        Activity

        Chang Luo created issue -
        Robert Newson made changes -
        Field Original Value New Value
        Original Estimate 48h [ 172800 ]
        Remaining Estimate 48h [ 172800 ]
        Issue Type New Feature [ 2 ] Bug [ 1 ]
        Fix Version/s 1.1.2 [ 12318873 ]
        Priority Critical [ 2 ] Major [ 3 ]
        Robert Newson made changes -
        Comment [ That was my conclusion also, but isn't that just absolutely foul?
        ]
        Sam Bisbee made changes -
        Attachment 0001-Replacing-alerts-with-throws-in-jquery.couch.js.patch [ 12511140 ]
        Attachment 0002-Adding-callbacks-for-errors-in-Futon-that-display-al.patch [ 12511141 ]
        Sam Bisbee made changes -
        Attachment 0001-Replacing-alerts-with-throws-in-jquery.couch.js.patch [ 12511140 ]
        Sam Bisbee made changes -
        Attachment 0002-Adding-callbacks-for-errors-in-Futon-that-display-al.patch [ 12511141 ]
        Sam Bisbee made changes -
        Attachment 0001-Replacing-alerts-with-throws-in-jquery.couch.js.patch [ 12511166 ]
        Attachment 0002-Adding-callbacks-for-errors-in-Futon-that-display-al.patch [ 12511167 ]
        Attachment 0003-Fixing-white-spacing-to-fit-the-rest-of-the-file.patch [ 12511168 ]
        Sam Bisbee made changes -
        Attachment 0001-Replacing-alerts-with-throws-in-jquery.couch.js.patch [ 12511166 ]
        Sam Bisbee made changes -
        Attachment 0002-Adding-callbacks-for-errors-in-Futon-that-display-al.patch [ 12511167 ]
        Sam Bisbee made changes -
        Attachment 0003-Fixing-white-spacing-to-fit-the-rest-of-the-file.patch [ 12511168 ]
        Robert Newson made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s 1.2 [ 12315198 ]
        Fix Version/s 1.3 [ 12318350 ]
        Resolution Fixed [ 1 ]

          People

          • Assignee:
            Unassigned
            Reporter:
            Chang Luo
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development