Advertisement
Guest User

Untitled

a guest
Aug 21st, 2012
121
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2. require([], function () {
  3.     var $html = $("html"),
  4.         animationModule = localStorage['cssanimations'] == 'true' ?
  5.         'css-animation' : 'js-animation',
  6.         $doc = $html.find("body");
  7.    
  8.     console.debug("loading ", animationModule);
  9.     require([animationModule], function( animationModule ) {
  10.         console.log(animationModule);
  11.         animationModule.run({
  12.             target : $("div.flex")
  13.         });
  14.     } );
  15. } );
  16. define("js/start",[], function(){});
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement