Advertisement
Guest User

Untitled

a guest
Sep 30th, 2014
162
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.80 KB | None | 0 0
  1. require.config({
  2. baseUrl: './js/',
  3. paths: {
  4. 'jquery' : 'vendor/jquery',
  5. 'modernizr' : 'vendor/modernizr',
  6. 'enquire' : 'vendor/enquire',
  7. 'blazyfile' : 'vendor/blazy'
  8. },
  9. bundles: {
  10. 'vendor/primary' : ['jquery', 'blazybundled', 'utils']
  11. },
  12. shim: {
  13. 'jquery' : {
  14. exports: '$'
  15. },
  16. 'blazybundled' : {
  17. exports: 'Blazy'
  18. },
  19. 'blazyfile' : {
  20. exports: 'Blazy'
  21. },
  22. 'foundation' : {
  23. deps: ['jquery']
  24. }
  25. }
  26. });
  27.  
  28. define([
  29. 'jquery',
  30. 'blazyfile',
  31. 'utils'
  32. ],
  33.  
  34. function ($, Blazy, utils) {
  35. 'use strict';
  36.  
  37. var bLazy = new Blazy({ offset: 500 });
  38. });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement