@linear_non/stellar-libs 1.1.6 → 1.1.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/Smooth/index.js +0 -7
package/package.json
CHANGED
package/src/Smooth/index.js
CHANGED
|
@@ -54,7 +54,6 @@ export default class Smooth {
|
|
|
54
54
|
tick = ({ current }) => {
|
|
55
55
|
const { isSmooth, isResizing } = kitStore.flags
|
|
56
56
|
if (!isSmooth || isResizing) return
|
|
57
|
-
console.log("Smooth Tick: ", current)
|
|
58
57
|
|
|
59
58
|
this.current = current
|
|
60
59
|
this.transformSections()
|
|
@@ -135,8 +134,6 @@ export default class Smooth {
|
|
|
135
134
|
this.getSections()
|
|
136
135
|
this.transformSections()
|
|
137
136
|
kitStore.flags.isResizing = false
|
|
138
|
-
|
|
139
|
-
console.log("Smooth Update", this.elems)
|
|
140
137
|
}
|
|
141
138
|
|
|
142
139
|
clean() {
|
|
@@ -145,8 +142,6 @@ export default class Smooth {
|
|
|
145
142
|
}
|
|
146
143
|
|
|
147
144
|
on() {
|
|
148
|
-
console.log("Smooth On")
|
|
149
|
-
|
|
150
145
|
emitter.on(EVENTS.APP_TICK, this.tick)
|
|
151
146
|
emitter.on(EVENTS.APP_RESIZE, this.resize)
|
|
152
147
|
}
|
|
@@ -166,8 +161,6 @@ export default class Smooth {
|
|
|
166
161
|
const root = kitStore.currentPage || document
|
|
167
162
|
this.elems = elems || qsa("[data-smooth]", root)
|
|
168
163
|
|
|
169
|
-
console.log("Smooth Init: ", this.elems)
|
|
170
|
-
|
|
171
164
|
this.scrollbar = new Scrollbar({
|
|
172
165
|
container: kitStore.currentPage,
|
|
173
166
|
})
|