incubator-callback-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tim...@apache.org
Subject [1/19] js commit: Reverted Fil's fix
Date Thu, 17 May 2012 22:37:05 GMT
Updated Branches:
  refs/heads/playbookFile [created] 6bc600eeb


Reverted Fil's fix


Project: http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/commit/6bc600ee
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/tree/6bc600ee
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/diff/6bc600ee

Branch: refs/heads/playbookFile
Commit: 6bc600eeb8b83357cfed068c06cc3afd9820f0e2
Parents: a8bef38
Author: Tim Kim <tim.kim@nitobi.com>
Authored: Thu May 17 15:35:03 2012 -0700
Committer: Tim Kim <tim.kim@nitobi.com>
Committed: Thu May 17 15:35:03 2012 -0700

----------------------------------------------------------------------
 lib/playbook/plugin/playbook/Entry.js |    8 +-------
 1 files changed, 1 insertions(+), 7 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/6bc600ee/lib/playbook/plugin/playbook/Entry.js
----------------------------------------------------------------------
diff --git a/lib/playbook/plugin/playbook/Entry.js b/lib/playbook/plugin/playbook/Entry.js
index 1630493..7295cc6 100644
--- a/lib/playbook/plugin/playbook/Entry.js
+++ b/lib/playbook/plugin/playbook/Entry.js
@@ -2,12 +2,7 @@ var FileError = require('cordova/plugin/FileError'),
     LocalFileSystem = require('cordova/plugin/LocalFileSystem'),
     resolveLocalFileSystemURI = require('cordova/plugin/resolveLocalFileSystemURI');
 
-function playbookEntry(){
-
-}
-
-playbookEntry.prototype = {
-
+module.exports = {
     getMetadata : function(successCallback, errorCallback){
         var success = typeof successCallback !== 'function' ? null : function(lastModified)
{
           var metadata = new Metadata(lastModified);
@@ -172,4 +167,3 @@ playbookEntry.prototype = {
     }
 };
 
-module.exports = playbookEntry;
\ No newline at end of file


Mime
View raw message