couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Newson (Resolved) (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (COUCHDB-1381) Support Windows 8 Metro Apps
Date Sat, 18 Feb 2012 15:36:59 GMT

     [ https://issues.apache.org/jira/browse/COUCHDB-1381?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Robert Newson resolved COUCHDB-1381.
------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.3
                   1.2

Sam Bisbee's patch applied to master and 1.2.x
                
> Support Windows 8 Metro Apps
> ----------------------------
>
>                 Key: COUCHDB-1381
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-1381
>             Project: CouchDB
>          Issue Type: Bug
>          Components: HTTP Interface
>    Affects Versions: 1.1.1
>         Environment: Windows 8
>            Reporter: Chang Luo
>              Labels: javascript, metro, windows
>             Fix For: 1.2, 1.3
>
>         Attachments: 0001-Replacing-alerts-with-throws-in-jquery.couch.js.patch, 0002-Adding-callbacks-for-errors-in-Futon-that-display-al.patch,
0003-Fixing-white-spacing-to-fit-the-rest-of-the-file.patch
>
>
> 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>

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message