arguiot/DisplayJS

Problem with testing outside jsfiddle

Closed this issue · 9 comments

Made a local try to work from scratch and have such issue

forstoshop - 5bc__phpstormprojects_forstoshop 5d - _dev_niceque_displayjs_app js - phpstorm 2017 1 2017-08-11 14 50 05
forstoshop - 5bc__phpstormprojects_forstoshop 5d - _dev_niceque_displayjs_index html - phpstorm 2017 1 2017-08-11 14 51 15

and nothing changed...

displayjs test - google chrome 2017-08-11 14 51 47

Hum 🤔, do you have any error?

Maybe try to replace var $ = new DisplayJS(window); by const $ = new DisplayJS(window);. Also, try to use v1.2.3 instead of v1.2.2.

Will it be possible to have the link of the thing you’re working on?

changed to 1.2.2 because error of display not shown there, but no difference between...
now its no way to show the link, ill try to host somewhere

Hmm, repeat not working with objects?

So, you’re problem comes from your app.js? What’s in it that could block DisplayJS?

@arguiot Not in app.js, you also can include it using script tag but all works only if app.js before body closing tag.
If in header, no result...

How can i get functionality like ng-repeat from angular that works with objects with different deep of data using repeat in DisplayJS? Thx

Yes, it’s normal, all your scripts needs to be in the body.

What do you mean by deep data?

If you have complex repeating lists, I recommend using custom components, so you can simply change the data once.

In the v2.0.0 I’m planing to support more and more HTML based features (like Angular if you see what I mean).

I apologize for the response time, I wasn’t available 😊.

@niceque Any updates? can I close this issue?

@niceque No updates in 24 hours, for the moment I'll close this issue, but if there is any updates, I'll reopen it 😊