NODE_SET_PROTOTYPE_METHOD(t, "isLoading", IsLoading);
NODE_SET_PROTOTYPE_METHOD(t, "isWaitingForResponse", IsWaitingForResponse);
NODE_SET_PROTOTYPE_METHOD(t, "stop", Stop);
- NODE_SET_PROTOTYPE_METHOD(t, "getRoutingID", GetRoutingID);
- NODE_SET_PROTOTYPE_METHOD(t, "getProcessID", GetProcessID);
+ NODE_SET_PROTOTYPE_METHOD(t, "getRoutingId", GetRoutingID);
+ NODE_SET_PROTOTYPE_METHOD(t, "getProcessId", GetProcessID);
- NODE_SET_PROTOTYPE_METHOD(t, "loadURL", LoadURL);
- NODE_SET_PROTOTYPE_METHOD(t, "getURL", GetURL);
+ NODE_SET_PROTOTYPE_METHOD(t, "loadUrl", LoadURL);
+ NODE_SET_PROTOTYPE_METHOD(t, "getUrl", GetURL);
NODE_SET_PROTOTYPE_METHOD(t, "canGoBack", CanGoBack);
NODE_SET_PROTOTYPE_METHOD(t, "canGoForward", CanGoForward);
NODE_SET_PROTOTYPE_METHOD(t, "canGoToOffset", CanGoToOffset);
try
windows = objectsRegistry.getAllWindows()
for window in windows
- break if window.getProcessID() == processId and
- window.getRoutingID() == routingId
+ break if window.getProcessId() == processId and
+ window.getRoutingId() == routingId
event.result = new Meta(processId, routingId, window)
catch e
event.result = type: 'error', value: e.message
atom.browserMainParts.preMainMessageLoopRun = function() {
mainWindow = new Window({ width: 800, height: 600 });
- mainWindow.loadURL('file://' + __dirname + '/index.html');
+ mainWindow.loadUrl('file://' + __dirname + '/index.html');
mainWindow.on('page-title-updated', function(event, title) {
event.preventDefault();