scratch – Blame information for rev 117
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
117 | office | 1 | (function (root, factory) { |
2 | 'use strict'; |
||
3 | |||
4 | if (typeof define === 'function' && define.amd) { |
||
5 | // AMD. Register as an anonymous module. |
||
6 | define(['jquery'], factory); |
||
7 | } else if (typeof exports === 'object') { |
||
8 | // Node. Does not work with strict CommonJS, but |
||
9 | // only CommonJS-like environments that support module.exports, |
||
10 | // like Node. |
||
11 | module.exports = factory(require('jquery')); |
||
12 | } else { |
||
13 | // Browser globals (root is window) |
||
14 | root.Swiper = factory(root.jQuery); |
||
15 | } |
||
16 | }(this, function ($) { |
||
17 | 'use strict'; |