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 3d6441b768
commit 027942980d

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;