Bug 984141 - Style editor should suggest valid CSS values without need of typing an initial character - exception fix. r=harth

This commit is contained in:
Girish Sharma
2014-03-20 11:45:42 +05:30
parent f97d2907cb
commit 6e11ba62c3

View File

@@ -766,7 +766,7 @@ CSSCompleter.prototype = {
completeProperties: function(startProp) {
let finalList = [];
if (!startProp)
return finalList;
return Promise.resolve(finalList);
let length = propertyNames.length;
let i = 0, count = 0;