Skip to content

Instantly share code, notes, and snippets.

View MrClement's full-sized avatar

Alex Clement MrClement

  • Morpheus Data
  • Denver, CO
View GitHub Profile
@MrClement
MrClement / instructurecon.js
Created October 1, 2015 16:40 — forked from ryanflorence/instructurecon.js
instructurecon code
onPage(/\/courses\/\d+\/settings/, function() {
// do something
});
hasAnyRole('admin', function(hasRole) {
if (hasRole) {
// do something
} else {
// do something else
}