Skip to content

Instantly share code, notes, and snippets.

Dariel Noel Vila Plagado darielnoel

Block or report user

Report or block darielnoel

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
darielnoel / em-react-helper.js
Last active Aug 16, 2018
View em-react-helper.js
//import { merge, template, forIn, isArray, isObject, isString } from 'lodash';
import merge from 'lodash/merge';
import { loadComponentProperties, getHookFunctions, getSsrCmpConfig, decodeSsrCmpConfig, parseSsrCmpConfig } from '../em-components';
import { evaluateObject } from './cmp-config-helper';
function clientPopulateCmpConfig(cmpConfig) {
let { name } = cmpConfig;
return new Promise((resolve, reject) => {
let hooks = getHookFunctions(cmpConfig);
const registryHost = cmpConfig.servicesConfig.config.endPoint;
View designer.html
<link rel="import" href="../google-map/google-map-directions.html">
<link rel="import" href="../paper-input/paper-input.html">
<link rel="import" href="../core-menu-button/core-menu-button.html">
<link rel="import" href="../core-icons/core-icons.html">
<link rel="import" href="../core-item/core-item.html">
<polymer-element name="my-element">
You can’t perform that action at this time.