Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ang2-phaser

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ang2-phaser - npm Package Compare versions

Comparing version 1.1.1 to 1.1.3

phaser/phaser.min.js

2

game_demos/phaser1_demo.js

@@ -27,3 +27,3 @@ //--------------

// load images/sounds/scripts
game.load.image('phaser_logo', '../../../node_modules/ang2-phaser/game_demo/phaser_logo.png')
game.load.image('phaser_logo', '../../../node_modules/ang2-phaser/game_demos/phaser_logo.png')

@@ -30,0 +30,0 @@ // preloader events

@@ -27,3 +27,3 @@ //--------------

// load images/sounds/scripts
game.load.image('phaser_logo', '../../../node_modules/ang2-phaser/game_demo/phaser_logo.png')
game.load.image('phaser_logo', '../../../node_modules/ang2-phaser/game_demos/phaser_logo.png')

@@ -30,0 +30,0 @@ // preloader events

@@ -88,6 +88,5 @@ "use strict";

}),
__metadata('design:paramtypes', [(typeof (_a = typeof core_1.ElementRef !== 'undefined' && core_1.ElementRef) === 'function' && _a) || Object])
__metadata('design:paramtypes', [core_1.ElementRef])
], ng2PhaserComponent);
return ng2PhaserComponent;
var _a;
}());

@@ -94,0 +93,0 @@ exports.ng2PhaserComponent = ng2PhaserComponent;

{
"name": "ang2-phaser",
"version": "1.1.1",
"version": "1.1.3",
"description": "A Phaser module built for Angular 2 components.",

@@ -27,6 +27,3 @@ "main": "index.js",

"homepage": "https://github.com/allenRoyston/ang2-phaser#readme",
"dependencies": {
"phaser": "^2.6.1"
},
"devDependencies": {}
"dependencies": {}
}

@@ -9,3 +9,4 @@ # ang2-phaser

```
npm install phaser
npm install phaser --save
npm install ang2-phaser --save
```

@@ -32,2 +33,3 @@ <br>

Then include the module in your scripts (including the functions and declarations).<br>
*Note that you do not have to include the main Phaser file; the directive will do it for you.
```

@@ -47,3 +49,3 @@

<h1>Angular2 - Phaser Demo</h1>
<phaser (phaser)="phaserLink1($event)" [settings]="{file:'node_modules/phaser/build/phaser.min.js'}"></phaser>
<phaser (phaser)="phaserLink1($event)" ></phaser>
</center>

@@ -60,3 +62,3 @@ `

js.type = "text/javascript";
js.src = '../../../node_modules/ang2-phaser/game/phaser1_demo.js';
js.src = '../../../node_modules/ang2-phaser/game_demos/phaser1_demo.js';
document.body.appendChild(js);

@@ -188,4 +190,14 @@ js.onload = function(){

### Parameters
```
// if you want to use an alternate version of Phaser (instead of the most up to date version, which is 2.6.1, then you
// can just just pass the file location in the setting -> file
// EXAMPLE:
<phaser (phaser)="phaserLink1($event)" [settings]="{file:'node_modules/phaser/build/phaser.min.js'}"></phaser>
```
### Version
1.0.0
1.0.1

@@ -199,6 +211,2 @@

### NPM / Bower
```
npm install ang2-phaser --save
```

@@ -205,0 +213,0 @@

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc