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

ramajs

Package Overview
Dependencies
Maintainers
1
Versions
38
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ramajs - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

dist/core/pollyfills.d.ts

1

dist/core/UIElement.js

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

};
require("./pollyfills");
var string_utils_1 = require("./utils/string-utils");

@@ -9,0 +10,0 @@ var EventDispatcher_1 = require("./EventDispatcher");

import { UIElement } from "../UIElement";
export interface VNode {
type: string | Function;
children?: Array<VNode | string>;
props?: any;
stateManagedProps?: any;
text?: string;
}
export declare function createVNode(ele: string | Function, props?: any, ...args: any[]): VNode;
export declare function createElement(tag: VNode | string, refs?: any, stateManagedProperties?: any, rootElement?: UIElement): UIElement;
import { State } from "./support_classes/State";
import { GroupBase } from "./GroupBase";
import { VNode } from "./utils/dom";
export declare abstract class ViewBase extends GroupBase {

@@ -4,0 +5,0 @@ private _viewStates;

6

dist/main.d.ts
export declare var rama: {
createElement: Function;
};
export * from "./decorators";
export * from "./View";
export * from "./Skin";
export * from "./Group";
export * from "./Component";
export * from "./Container";
"use strict";
function __export(m) {
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
}
var dom_1 = require("./core/utils/dom");
require("./pollyfills");
exports.rama = { createElement: dom_1.createVNode };
__export(require("./decorators"));
__export(require("./View"));
__export(require("./Skin"));
__export(require("./Group"));
__export(require("./Component"));
__export(require("./Container"));
import { Skin } from "../Skin";
import { VNode } from "../core/utils/dom";
export declare class ContainerSkin extends Skin {
render(): VNode;
}
declare interface VNode
{
type:string|Function;
children?:Array<VNode|string>;
props?:any;
stateManagedProps?:any;
text?:string;
}
import {VNode} from "../core/utils/dom";

@@ -11,0 +4,0 @@ declare namespace JSX {

import { ViewBase } from "./core/ViewBase";
import { VNode } from "./core/utils/dom";
export declare abstract class View extends ViewBase {
abstract render(): VNode;
}
{
"name": "ramajs",
"version": "0.1.0",
"version": "0.1.1",
"author": {

@@ -39,3 +39,3 @@ "name": ""

"licenses": [],
"main": "dist/main.js",
"typings": "./dist/typings/rama.d.ts",
"optionalDependencies": {},

@@ -42,0 +42,0 @@ "readme": "",

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