Permalink
Browse files

readme

  • Loading branch information...
born2net committed Sep 29, 2017
1 parent f4b77a9 commit 7ff828713bd03a6fd4b28cb29dce5c8f76c798c9
Showing with 10 additions and 5 deletions.
  1. +4 −0 README.md
  2. +1 −0 dev/notes.txt
  3. +1 −1 src/app/blocks/block-prop-json-item.ts
  4. +4 −4 src/app/scenes/scene-editor.ts
@@ -56,6 +56,10 @@ currently the application should run under:
- node 6.x
to install and host:
```
npm install -g npm``` (this will ensure npm 5.4.2 >)
```
```
git clone https://github.com/born2net/studio-lite.git
cd studio-lite
@@ -13,6 +13,7 @@ https://github.com/videogular/videogular2/issues/442
npm uninstall -g angular-cli @angular/cli
npm cache clean
npm install -g @angular/cli@latest
OR npm install -g @angular/cli@1.2.6
Local project package:
rm -rf node_modules dist # use rmdir on Windows
@@ -163,7 +163,7 @@ export class BlockPropJsonItem extends Compbaser implements AfterViewInit {
var mime = this.m_blockData.playerMimeScene;
var domPlayerData: XMLDocument = this.m_blockData.playerDataDom;
var xSnippet = jXML(domPlayerData).find('XmlItem');
_.forEach(this.m_config[mime].fields, (k) => {
_.forEach(this.m_config[mime].fields, (k:any) => {
if (k.name == name) {
jXML(xSnippet).attr('fieldType', k.type);
jXML(xSnippet).attr('fieldName', k.name);
@@ -668,7 +668,7 @@ export class SceneEditor extends Compbaser implements AfterViewInit {
switch (i_command) {
case 'copy': {
this.m_copiesObjects = [];
_.each(i_blocks, (selectedObject) => {
_.each(i_blocks, (selectedObject:any) => {
var blockPlayerData = selectedObject.getBlockData().blockData;
blockPlayerData = this.rp.stripPlayersID(blockPlayerData);
this.m_copiesObjects.push(blockPlayerData);
@@ -680,7 +680,7 @@ export class SceneEditor extends Compbaser implements AfterViewInit {
let uiState: IUiState = {scene: {blockSelected: -1}}
this.yp.ngrxStore.dispatch(({type: ACTION_UISTATE_UPDATE, payload: uiState}))
this.m_copiesObjects = [];
_.each(i_blocks, (selectedObject) => {
_.each(i_blocks, (selectedObject:any) => {
var blockData = selectedObject.getBlockData();
var blockPlayerData = blockData.blockData;
this._discardSelections();
@@ -699,7 +699,7 @@ export class SceneEditor extends Compbaser implements AfterViewInit {
case 'remove': {
let uiState: IUiState = {scene: {blockSelected: -1}}
this.yp.ngrxStore.dispatch(({type: ACTION_UISTATE_UPDATE, payload: uiState}))
_.each(i_blocks, (selectedObject) => {
_.each(i_blocks, (selectedObject:any) => {
var blockData = selectedObject.getBlockData();
this._discardSelections();
this.rp.removeScenePlayer(this.m_selectedSceneID, blockData.blockID);
@@ -1242,7 +1242,7 @@ export class SceneEditor extends Compbaser implements AfterViewInit {
if (group) {
con('group selected');
var selectedGroup = options.target || group;
_.each(group.objects, (selectedObject) => {
_.each(group.objects, (selectedObject:any) => {
var objectPos = {
x: (selectedGroup.left + (selectedObject.left)),
y: (selectedGroup.top + (selectedObject.top))

0 comments on commit 7ff8287

Please sign in to comment.