Skip to content

Instantly share code, notes, and snippets.

@jaydp17
Created July 2, 2014 22:18
Show Gist options
  • Save jaydp17/e11783abf8bea414873a to your computer and use it in GitHub Desktop.
Save jaydp17/e11783abf8bea414873a to your computer and use it in GitHub Desktop.
requirejs works
require.config({
baseUrl : "bower_components/codemirror",
});
require(['lib/codemirror', 'addon/hint/show-hint'], function(CodeMirror, sh) {
console.log(CodeMirror.defaults);
console.log(CodeMirror.showHint);
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment