Comparing version 0.9.8 to 0.9.9
{ | ||
"name": "material", | ||
"version": "0.9.8", | ||
"version": "0.9.9", | ||
"description": "A lightweight implementation of Material Design Components for the web - ES6", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -13,3 +13,2 @@ import { is as isObject } from '../module/object' | ||
function create (schema, container, structure = {}, level = 0, components = []) { | ||
// console.log('layout create') | ||
level++ | ||
@@ -20,2 +19,6 @@ let component | ||
if (!Array.isArray(schema)) { | ||
console.trace('Schema is not an array!') | ||
} | ||
for (let i = 0; i < schema.length; i++) { | ||
@@ -53,3 +56,7 @@ var name | ||
if (component.onInserted) component.onInserted(fragment) | ||
if (container) { | ||
// console.log('container', container) | ||
component._container = container | ||
if (component.onInserted) component.onInserted(container) | ||
} | ||
} | ||
@@ -56,0 +63,0 @@ } else if (Array.isArray(schema[i])) { |
import scrollbar from '../module/scrollbar' | ||
import dataset from '../module/dataset' | ||
import { create } from './module/layout' | ||
import { create } from '../module/layout' | ||
@@ -5,0 +5,0 @@ export default { |
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
451267
10350