1 | 1 |
deleted file mode 100644 |
... | ... |
@@ -1,29 +0,0 @@ |
1 |
-// Swiper Class |
|
2 |
-import Swiper from './components/core/core-class'; |
|
3 |
- |
|
4 |
-// Core Modules |
|
5 |
-import Device from './modules/device/device'; |
|
6 |
-import Support from './modules/support/support'; |
|
7 |
-import Browser from './modules/browser/browser'; |
|
8 |
-import Resize from './modules/resize/resize'; |
|
9 |
-import Observer from './modules/observer/observer'; |
|
10 |
- |
|
11 |
-//IMPORT_COMPONENTS |
|
12 |
- |
|
13 |
-const components = [ |
|
14 |
- Device, |
|
15 |
- Support, |
|
16 |
- Browser, |
|
17 |
- Resize, |
|
18 |
- Observer, |
|
19 |
- //INSTALL_COMPONENTS |
|
20 |
-]; |
|
21 |
- |
|
22 |
-if (typeof Swiper.use === 'undefined') { |
|
23 |
- Swiper.use = Swiper.Class.use; |
|
24 |
- Swiper.installModule = Swiper.Class.installModule; |
|
25 |
-} |
|
26 |
- |
|
27 |
-Swiper.use(components); |
|
28 |
- |
|
29 |
-//EXPORT |
1 | 1 |
new file mode 100644 |
... | ... |
@@ -0,0 +1,29 @@ |
1 |
+// Swiper Class |
|
2 |
+import Swiper from './components/core/core-class'; |
|
3 |
+ |
|
4 |
+// Core Modules |
|
5 |
+import Device from './modules/device/device'; |
|
6 |
+import Support from './modules/support/support'; |
|
7 |
+import Browser from './modules/browser/browser'; |
|
8 |
+import Resize from './modules/resize/resize'; |
|
9 |
+import Observer from './modules/observer/observer'; |
|
10 |
+ |
|
11 |
+//IMPORT_COMPONENTS |
|
12 |
+ |
|
13 |
+const components = [ |
|
14 |
+ Device, |
|
15 |
+ Support, |
|
16 |
+ Browser, |
|
17 |
+ Resize, |
|
18 |
+ Observer, |
|
19 |
+ //INSTALL_COMPONENTS |
|
20 |
+]; |
|
21 |
+ |
|
22 |
+if (typeof Swiper.use === 'undefined') { |
|
23 |
+ Swiper.use = Swiper.Class.use; |
|
24 |
+ Swiper.installModule = Swiper.Class.installModule; |
|
25 |
+} |
|
26 |
+ |
|
27 |
+Swiper.use(components); |
|
28 |
+ |
|
29 |
+//EXPORT |