Skip to content

Commit af3b432

Browse files
committed
Added console.log for debugging.
1 parent 579f3df commit af3b432

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@networkninja/smooth-dnd",
3-
"version": "0.13.5",
3+
"version": "0.13.6",
44
"description": "Drag and Drop library",
55
"main": "./dist/index.js",
66
"scripts": {

src/polyfills.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ function applyPolyfills() {
2828
) {
2929
Object.defineProperty(constructor.prototype, "firstElementChild", {
3030
get: function () {
31+
console.log('hitting this!');
3132
if(this !== constructor.prototype) {
3233
var node, nodes = this.childNodes, i = 0;
3334
while ((node = nodes[i++])) {

0 commit comments

Comments
 (0)