daily pastebin goal
77%
SHARE
TWEET

Untitled

a guest Nov 22nd, 2017 52 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <section class="vertical-center slider">
  2.     <div>
  3.          <div class="dummy-content"> I am a Text </div>
  4.     </div>
  5.     <div>
  6.         <div class="dummy-content"> I am a Text </div>
  7.     </div>
  8. </section>
  9.  
  10. <script type="text/x-magento-init">
  11. {
  12.      ".vertical-center" : {
  13.         "customjs" : {
  14.             "autoplaySpeed": 5000
  15.         }
  16.      }
  17. }
  18. </script>
  19.    
  20. var config = {
  21.  
  22.      map: {
  23.         '*': {
  24.             customjs: 'CompanyName_ReviewRating/js/customjs',
  25.         }
  26.     },
  27.     paths:{
  28.         "slick": "js/slick/slick"
  29.     },
  30.     shim:{
  31.         'slick':{
  32.             'deps':['jquery']
  33.         }
  34.     }
  35. };
  36.  
  37. console.log('This is printed');
  38.    
  39. -> slick.js
  40.   ->slick.css
  41.   ->slick-theme.css
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top