cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ArnaudValensi <...@git.apache.org>
Subject [GitHub] cordova-plugin-file pull request: Implementation of read only acce...
Date Thu, 05 Mar 2015 20:21:39 GMT
Github user ArnaudValensi commented on the pull request:

    https://github.com/apache/cordova-plugin-file/pull/84#issuecomment-77443680
  
    ```js
        function fail(e) {
        	console.log('FileSystem Error');
        	console.dir(e);
        }
    
        function success(dir) {
            console.log('success');
        	console.dir(dir);
        }
    
        function hotupdate() {
        	window.resolveLocalFileSystemURL(
                cordova.file.applicationDirectory,
                success,
                fail
            );
        }
    
        document.addEventListener('deviceready', hotupdate, false);
    ```
    
    My cordova version is: 4.1.2
    And I've installed your version of the file plugin.
    
    I'm trying to implement a hot code updater.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@cordova.apache.org
For additional commands, e-mail: dev-help@cordova.apache.org


Mime
View raw message