From 8b1f3400bad282dd142313fa7679cbb9a2bc26d7 Mon Sep 17 00:00:00 2001 From: Amin Ullah Khan Date: Sat, 7 Feb 2015 21:29:56 +0500 Subject: [PATCH] Fixed typos in docs --- src/view/MainViewFactory.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/view/MainViewFactory.js b/src/view/MainViewFactory.js index 101b2a6154e..6b20b9440c6 100644 --- a/src/view/MainViewFactory.js +++ b/src/view/MainViewFactory.js @@ -30,15 +30,15 @@ * Registering a view factory: * * registerViewFactory({ - * canOpen: function (fullPath) { + * canOpenFile: function (fullPath) { * return (fullPath.slice(-4) === ".ico"); * }, - * open: function(file, pane) { + * openFile: function(file, pane) { * return createIconView(file, pane); * } * }); * - * The open method is used to open the file and construct + * The openFile method is used to open the file and construct * a view of it. Implementation should add the view to the pane * * function createIconView(file, pane) {