Merge lp:~jflaker/unity-webapps-qml/BugFix1399841 into lp:unity-webapps-qml

Proposed by Jeffrey Flaker
Status: Needs review
Proposed branch: lp:~jflaker/unity-webapps-qml/BugFix1399841
Merge into: lp:unity-webapps-qml
Diff against target: 12 lines (+1/-1)
1 file modified
src/Ubuntu/UnityWebApps/UnityWebAppsBackendComponents.js (+1/-1)
To merge this branch: bzr merge lp:~jflaker/unity-webapps-qml/BugFix1399841
Reviewer Review Type Date Requested Status
Alexandre Abreu (community) Approve
Review via email: mp+246526@code.launchpad.net

Description of the change

Fix typo: Lenght should be length

To post a comment you must log in.
Revision history for this message
Alexandre Abreu (abreu-alexandre) :
review: Approve

Unmerged revisions

145. By Jeffrey Flaker

fix typo: lenght should be length

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'src/Ubuntu/UnityWebApps/UnityWebAppsBackendComponents.js'
2--- src/Ubuntu/UnityWebApps/UnityWebAppsBackendComponents.js 2014-05-16 16:29:35 +0000
3+++ src/Ubuntu/UnityWebApps/UnityWebAppsBackendComponents.js 2015-01-15 02:29:07 +0000
4@@ -89,7 +89,7 @@
5 return actionName.replace(/^\/+/, '');
6 }
7 UnityActionsBackendAdaptor.prototype.__actionExists = function (actionName) {
8- if (!actionName || typeof(actionName) != 'string' || actionName.lenght === 0)
9+ if (!actionName || typeof(actionName) != 'string' || actionName.length === 0)
10 return false;
11 return this._actions[actionName] != null && this._actions[actionName].action != null;
12 };

Subscribers

People subscribed via source and target branches

to all changes: