Skip to content

Making the Msgs fade and effect scripts append to lift's page script#1737

Merged
Shadowfiend merged 3 commits into
masterfrom
ppe_msg_appendjs
Dec 3, 2015
Merged

Making the Msgs fade and effect scripts append to lift's page script#1737
Shadowfiend merged 3 commits into
masterfrom
ppe_msg_appendjs

Conversation

@karma4u101
Copy link
Copy Markdown
Member

Instead of (as in lift 2.6) using the in-lining tailScript function Msgs fade and effect scripts will now instead append to lifts page script. The change makes it better align with Lifts CSP settings.

instead of using the inlining tailScript function.
@Shadowfiend
Copy link
Copy Markdown
Member

Should we also nuke the only other invocation of tailScript and then get rid of that method altogether?

@karma4u101
Copy link
Copy Markdown
Member Author

Sounds good to me, sry I somehow missed that one ;) will go ahead and update the PR

Msg.effects with the new appendScript function. 
This was the last use of the tailScript function so removing it from
Msgs.
@karma4u101
Copy link
Copy Markdown
Member Author

@Shadowfiend PR is updated the tailScript function is removed as it is no longer referenced.

@Shadowfiend Shadowfiend modified the milestone: 3.0-M7 Dec 1, 2015
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe “appends JavaScript to the current page's page script that…” rather than “appends a script element”? Definitely it's not appending an element.

@Shadowfiend
Copy link
Copy Markdown
Member

Lookin' good! Quick scaladoc comment, but other than that I'm diggin' it!

@karma4u101
Copy link
Copy Markdown
Member Author

@Shadowfiend scaladoc is updated lmkwut

@Shadowfiend
Copy link
Copy Markdown
Member

Looks good! 👍 and merging so I can check that lift/lift_30_sbt#2 works as expected!

Shadowfiend added a commit that referenced this pull request Dec 3, 2015
Making the Msgs fade and effect scripts append to lift's page script

Instead of (as in lift 2.6) using the in-lining tailScript function Msgs fade
and effect scripts will now instead append to lifts page script. The change
makes it better align with Lifts CSP settings.
@Shadowfiend Shadowfiend merged commit 09d0e59 into master Dec 3, 2015
@Shadowfiend Shadowfiend deleted the ppe_msg_appendjs branch December 3, 2015 04:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants