tsparticles-shape-square
Advanced tools
Comparing version 2.9.3 to 2.10.0
"use strict"; | ||
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { | ||
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } | ||
return new (P || (P = Promise))(function (resolve, reject) { | ||
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } | ||
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } | ||
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); } | ||
step((generator = generator.apply(thisArg, _arguments || [])).next()); | ||
}); | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.loadSquareShape = void 0; | ||
const SquareDrawer_1 = require("./SquareDrawer"); | ||
function loadSquareShape(engine) { | ||
return __awaiter(this, void 0, void 0, function* () { | ||
const drawer = new SquareDrawer_1.SquareDrawer(); | ||
yield engine.addShape(["edge", "square"], drawer); | ||
}); | ||
async function loadSquareShape(engine) { | ||
const drawer = new SquareDrawer_1.SquareDrawer(); | ||
await engine.addShape(["edge", "square"], drawer); | ||
} | ||
exports.loadSquareShape = loadSquareShape; |
{ | ||
"name": "tsparticles-shape-square", | ||
"version": "2.9.3", | ||
"version": "2.10.0", | ||
"description": "tsParticles square shape", | ||
@@ -49,4 +49,4 @@ "homepage": "https://particles.js.org", | ||
"dependencies": { | ||
"tsparticles-engine": "^2.9.3" | ||
"tsparticles-engine": "^2.10.0" | ||
} | ||
} |
@@ -7,3 +7,3 @@ /*! | ||
* How to use? : Check the GitHub README | ||
* v2.9.3 | ||
* v2.10.0 | ||
*/ | ||
@@ -61,3 +61,3 @@ (function webpackUniversalModuleDefinition(root, factory) { | ||
__webpack_require__.d(__webpack_exports__, { | ||
"loadSquareShape": () => (/* binding */ loadSquareShape) | ||
loadSquareShape: () => (/* binding */ loadSquareShape) | ||
}); | ||
@@ -64,0 +64,0 @@ |
@@ -1,1 +0,1 @@ | ||
/*! tsParticles Square Shape v2.9.3 by Matteo Bruni */ | ||
/*! tsParticles Square Shape v2.10.0 by Matteo Bruni */ |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
290346
178
Updatedtsparticles-engine@^2.10.0