Skip to content

Instantly share code, notes, and snippets.

@marti1125
Created December 10, 2012 04:35
Show Gist options
  • Save marti1125/4248400 to your computer and use it in GitHub Desktop.
Save marti1125/4248400 to your computer and use it in GitHub Desktop.
Require js and Jquery
in the html file
<script type="text/javascript" data-main="js/app" src="js/require-jquery.js"></script>
in the javascript file
require(["jquery", "kendo.web.min"], function($){
$(function() {
alert('Require.js!!')
});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment