-
Notifications
You must be signed in to change notification settings - Fork 10
Link to Open Fixture Library #128
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
33 commits
Select commit
Hold shift + click to select a range
c248a97
Link to Open Fixture Library
FloEdelmann 8610528
Merge branch 'master' into patch-1
peternewman 065aabd
add links to each OFL mode
FloEdelmann 44672a2
update Closure build tools and compile app.js
FloEdelmann 9fb1d19
Merge branch 'master' into patch-1
peternewman c9c2bd7
Merge branch 'master' into patch-1
peternewman 123d415
exclude rdm.js from BUILD
FloEdelmann 2495fff
call closure compiler from Gruntfile
FloEdelmann 70685f0
fix lint and add linter option
FloEdelmann 5d67555
Merge branch 'master' into patch-1
FloEdelmann ab59937
Merge branch 'master' into patch-1
FloEdelmann c9a3e28
Merge branch 'master' into patch-1
FloEdelmann 5d6108e
Merge branch 'master' into patch-1
FloEdelmann 6691d41
Merge branch 'master' into patch-1
FloEdelmann 06006ff
Remove double-whitespace
FloEdelmann 436e8a0
Merge branch 'master' into patch-1
FloEdelmann f40c907
Merge branch 'master' into patch-1
peternewman 61a3515
Add closure-compiler to Travis
peternewman 6872b28
Add closure-compiler to .travis-ci.sh
peternewman 9cb9b2f
fix a lot of Closure compiler warnings
FloEdelmann b6d625f
source out app.displayCommand to pid_utils.js
FloEdelmann 60a8664
Merge branch 'master' into patch-1
peternewman 051d284
fix requested JSDoc change; set OFL base URL only once
FloEdelmann 8ca247e
Merge branch 'patch-1' of github.com:FloEdelmann/rdm-app into patch-1
FloEdelmann dbf8743
Ooops, remove debug console.log()
FloEdelmann b38bd14
construct the URL in Python
FloEdelmann a5f5897
Merge branch 'master' into patch-1
peternewman 49840d9
Merge branch 'master' into patch-1
FloEdelmann a089d43
move "fieldset exists?" checks out
FloEdelmann af0e3de
Merge branch 'master' into patch-1
FloEdelmann 5f76a1d
update JSDoc comment types
FloEdelmann 387be32
Add myself to contributors
FloEdelmann 42dc9f2
Merge branch 'master' into patch-1
peternewman File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I was going to say you don't need this, but I'm guessing it optimises it out if it's not in there otherwise?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If it's not in there, I get a
TypeError: app.displayCommand is not a functionin the browser console on PID pages. However, I just noticed another error:TypeError: this.l.ya is not a function😕There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm, then you have to look at the minification to make sense of it! Or perhaps try the non-advanced optimisation may be enough to tell, while giving it a real function name.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, it's actually one of those warnings that were not produced by my changes:
this.tt.setHtml is not a functionUh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ping @FloEdelmann . I've been doing some testing with deploy in #206 and I'm currently getting that "TypeError: this.l.ya is not a function" error and no tooltips e.g. on http://peter-ola-rdm-app.appspot.com/pid/display?manufacturer=0&pid=1 . It does work with what's on live though... http://rdm.openlighting.org/pid/display?manufacturer=0&pid=1
Prior to your changes it hadn't been touched since 2015, which is most likely what live is running.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks like this is why, and I suspect your bumping of closure-compiler and/or recompiling means we now need to update various bits such as: gmalartre/closure-library@8932858#diff-b655ee9f9748151f90992f5878791bf6L142
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmmm, I didn't notice a consequence of that error when testing in this PR; seems like it does matter though (it even stops showing the upper_uid box).
Have you already tried just replacing
this.tt.setHtmlwiththis.tt.setSafeHtmlhere? https://github.com/OpenLightingProject/rdm-app/blob/master/js_src/pid_display.js#L122In the second occurrence in that file (line 234),
setTextshould be enough.Both should be available (in contrast to the old
setHtml), according to the Closure API.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed in #209