Skip to content
Snippets Groups Projects
Commit f8a736d0 authored by Filipa Lacerda's avatar Filipa Lacerda
Browse files

Merge branch 'remove-imports-loader-window-bind' into 'master'

Remove window-binding hack with imports-loader

See merge request !9123
parents 19ff8177 c74b7eb2
No related branches found
No related tags found
1 merge request!9123Remove window-binding hack with imports-loader
Pipeline #
Showing
with 18 additions and 25 deletions
Loading
Loading
@@ -95,4 +95,4 @@
 
return U2FRegister;
})();
}).call(this);
}).call(window);
Loading
Loading
@@ -9,4 +9,4 @@
 
return U2FUtil;
})();
}).call(this);
}).call(window);
Loading
Loading
@@ -221,4 +221,4 @@
 
return Calendar;
})();
}).call(this);
}).call(window);
Loading
Loading
@@ -432,4 +432,4 @@
 
return UsersSelect;
})();
}).call(this);
}).call(window);
Loading
Loading
@@ -94,4 +94,4 @@ require('mousetrap/plugins/pause/mousetrap-pause');
 
return ZenMode;
})();
}).call(this);
}).call(window);
Loading
Loading
@@ -60,12 +60,6 @@ var config = {
'stage-2'
]
}
},
{
test: /\.(js|es6)$/,
exclude: /node_modules/,
loader: 'imports-loader',
options: 'this=>window'
}
]
},
Loading
Loading
Loading
Loading
@@ -20,7 +20,6 @@
"d3": "^3.5.11",
"dropzone": "^4.2.0",
"es6-promise": "^4.0.5",
"imports-loader": "^0.6.5",
"jquery": "^2.2.1",
"jquery-ui": "git+https://github.com/jquery/jquery-ui#1.11.4",
"jquery-ujs": "^1.2.1",
Loading
Loading
Loading
Loading
@@ -229,4 +229,4 @@ require('./fixtures/emoji_menu');
});
});
});
}).call(this);
}).call(window);
Loading
Loading
@@ -18,4 +18,4 @@ require('~/behaviors/autosize');
return $(document).trigger('load');
};
});
}).call(this);
}).call(window);
Loading
Loading
@@ -103,4 +103,4 @@ require('~/behaviors/quick_submit');
return $.Event('keydown', $.extend({}, defaults, options));
};
});
}).call(this);
}).call(window);
Loading
Loading
@@ -36,4 +36,4 @@ require('~/behaviors/requires_input');
return expect($('.submit')).not.toBeDisabled();
});
});
}).call(this);
}).call(window);
Loading
Loading
@@ -42,4 +42,4 @@ require('~/extensions/array');
});
});
});
}).call(this);
}).call(window);
Loading
Loading
@@ -39,4 +39,4 @@ require('~/extensions/jquery');
});
});
});
}).call(this);
}).call(window);
This diff is collapsed.
Loading
Loading
@@ -50,4 +50,4 @@ require('~/lib/utils/text_utility');
});
});
});
}).call(this);
}).call(window);
Loading
Loading
@@ -165,4 +165,4 @@ require('~/issue');
expect($('.issue_counter')).toHaveText(1);
});
});
}).call(this);
}).call(window);
Loading
Loading
@@ -227,4 +227,4 @@ require('~/line_highlighter');
});
});
});
}).call(this);
}).call(window);
Loading
Loading
@@ -26,4 +26,4 @@ require('~/merge_request');
});
});
});
}).call(this);
}).call(window);
Loading
Loading
@@ -209,4 +209,4 @@ require('vendor/jquery.scrollTo');
});
});
});
}).call(this);
}).call(window);
Loading
Loading
@@ -189,4 +189,4 @@ require('~/lib/utils/datetime_utility');
});
});
});
}).call(this);
}).call(window);
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment