@linear_non/stellar-libs 1.1.7 → 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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@linear_non/stellar-libs",
3
- "version": "1.1.7",
3
+ "version": "1.1.8",
4
4
  "description": "Reusable JavaScript libraries for Non-Linear Studio projects.",
5
5
  "main": "src/index.js",
6
6
  "type": "module",
@@ -5,8 +5,6 @@ import { qs, qsa, bounds, Debug } from "@linear_non/stellar-kit/utils"
5
5
 
6
6
  export default class Smooth {
7
7
  constructor(obj) {
8
- console.log("Smooth Constructor: ", obj)
9
-
10
8
  this.scroll = obj.scroll
11
9
  this.el = qs("[data-view]")
12
10
  this.elems = null
@@ -56,7 +54,6 @@ export default class Smooth {
56
54
  tick = ({ current }) => {
57
55
  const { isSmooth, isResizing } = kitStore.flags
58
56
  if (!isSmooth || isResizing) return
59
- console.log("Smooth Tick: ", current)
60
57
 
61
58
  this.current = current
62
59
  this.transformSections()
@@ -137,8 +134,6 @@ export default class Smooth {
137
134
  this.getSections()
138
135
  this.transformSections()
139
136
  kitStore.flags.isResizing = false
140
-
141
- console.log("Smooth Update", this.elems)
142
137
  }
143
138
 
144
139
  clean() {
@@ -147,8 +142,6 @@ export default class Smooth {
147
142
  }
148
143
 
149
144
  on() {
150
- console.log("Smooth On")
151
-
152
145
  emitter.on(EVENTS.APP_TICK, this.tick)
153
146
  emitter.on(EVENTS.APP_RESIZE, this.resize)
154
147
  }
@@ -168,8 +161,6 @@ export default class Smooth {
168
161
  const root = kitStore.currentPage || document
169
162
  this.elems = elems || qsa("[data-smooth]", root)
170
163
 
171
- console.log("Smooth Init: ", this.elems)
172
-
173
164
  this.scrollbar = new Scrollbar({
174
165
  container: kitStore.currentPage,
175
166
  })