Skip to content

Commit

Permalink
Merge pull request #377 from JohnnP/develop
Browse files Browse the repository at this point in the history
Fix error variable name
  • Loading branch information
Ephrame authored Sep 26, 2016
2 parents e360c90 + 7cf8d34 commit c30426e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/reference/builder.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ import {getElement, getCacheDuration} from './config';
let cache = {};
const promiseWaiting = [];

function _deletePromiseWaiting(name){
const indexPrm = promiseWaiting.indexOf(key);
if(indexPrm !== -1){
function _deletePromiseWaiting(name) {
const indexPrm = promiseWaiting.indexOf(name);
if(indexPrm !== -1) {
promiseWaiting.splice(indexPrm, 1);
}
}
Expand Down

0 comments on commit c30426e

Please sign in to comment.