New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

rune-ts

Package Overview
Dependencies
Maintainers
1
Versions
46
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rune-ts - npm Package Compare versions

Comparing version 0.0.4 to 0.0.5

3

dist/esm/VirtualView.js

@@ -74,2 +74,3 @@ function _define_property(obj, key, value) {

if (this.data === null) throw new TypeError("'this.data' is not assigned.");
this.subViewsFromTemplate = [];
const html = this.template(this.data);

@@ -80,2 +81,3 @@ return this._resetCurrentHtml(html instanceof Html ? html.make(this) : html);

if (this.data === null) throw new TypeError("'this.data' is not assigned.");
this.subViewsFromTemplate = [];
const html = await this.templateAsync(this.data);

@@ -116,3 +118,2 @@ return this._resetCurrentHtml(html instanceof Html ? await html.makeAsync(this) : html);

*_make(virtualView, toHtml, make) {
virtualView.subViewsFromTemplate = [];
const end = this._templateStrs.length - 1;

@@ -119,0 +120,0 @@ for(let i = 0; i < end; i++){

@@ -104,2 +104,3 @@ "use strict";

if (this.data === null) throw new TypeError("'this.data' is not assigned.");
this.subViewsFromTemplate = [];
const html = this.template(this.data);

@@ -110,2 +111,3 @@ return this._resetCurrentHtml(html instanceof Html ? html.make(this) : html);

if (this.data === null) throw new TypeError("'this.data' is not assigned.");
this.subViewsFromTemplate = [];
const html = await this.templateAsync(this.data);

@@ -146,3 +148,2 @@ return this._resetCurrentHtml(html instanceof Html ? await html.makeAsync(this) : html);

*_make(virtualView, toHtml, make) {
virtualView.subViewsFromTemplate = [];
const end = this._templateStrs.length - 1;

@@ -149,0 +150,0 @@ for(let i = 0; i < end; i++){

@@ -592,3 +592,3 @@ # 시작하기

checkable = new Checkable(this).init();
template(color: Color) {

@@ -623,18 +623,2 @@ return html`

### @enable 데코레이터
@enable 데코레이터를 활용하면 `CheckableColorView`를 간결하게 꾸며줄 수 있습니다.
```typescript
@enable(Checkable)
class CheckableColorView extends View<Color> {
template(color: Color) {
return html`
<div class="${color.checked ? 'checked' : ''}" style="background-color: ${color.code}">
</div>
`;
}
}
```
### 데이터 공유가 없는 View 확장

@@ -641,0 +625,0 @@

{
"name": "rune-ts",
"version": "0.0.4",
"version": "0.0.5",
"description": "Rune Core Library",

@@ -5,0 +5,0 @@ "engines": {

Sorry, the diff of this file is not supported yet

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