Skip to content

Commit

Permalink
Merge pull request #2 from mstart-it/mstart-it/declare_constant_vars
Browse files Browse the repository at this point in the history
Declare vars for string constants to avoid strict mode errors.
  • Loading branch information
motine authored Jul 27, 2019
2 parents 33bee12 + 081f333 commit 958bd29
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions css_grid_annotator.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ function cssGridAnnotate() {
return;
}

CSS_DISPLAY_GRID = "-ms-grid";
CSS_TEMPLATE_COLS = "-ms-grid-columns";
CSS_ROW = "-ms-grid-row";
CSS_COL = "-ms-grid-column";
var CSS_DISPLAY_GRID = "-ms-grid";
var CSS_TEMPLATE_COLS = "-ms-grid-columns";
var CSS_ROW = "-ms-grid-row";
var CSS_COL = "-ms-grid-column";

function annotateAll(parentElement) {
// we have to go through every single element to check the computed style
Expand Down

0 comments on commit 958bd29

Please sign in to comment.