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

ng1-shift

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ng1-shift - npm Package Compare versions

Comparing version 0.0.2 to 0.0.3

2

index.js

@@ -21,3 +21,3 @@ (function (window, factory) {

target.constructor.bindings[alias || property] = "<";
target.constructor.bindings[property] = "<" + (alias ? alias : "");
};

@@ -24,0 +24,0 @@ }

{
"name": "ng1-shift",
"version": "0.0.2",
"version": "0.0.3",
"description": "Angular 1.5+ decorators for writing Angular2 like.",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -5,2 +5,5 @@ # ng1-shift

## How to install?
`npm i -S ng1-shift`
## Component

@@ -20,3 +23,5 @@ Decorator for class, which links class to component contoller.

@Component({
template: require("./playground.html"),
   template: `
<h1>Place your template here</h1>
`,
})

@@ -38,3 +43,5 @@ export class PlaygroundComponent implements ng.IController {

static controller = PlaygroundComponent;
static template = require("./playground.html");
static template = `
<h1>Place your template here</h1>
`;

@@ -41,0 +48,0 @@ $onInit() {

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