Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Calling Do.Halt in mojito plugins prevents other plugins from hooking into the RS #1261

Open
jarnoux opened this Issue · 4 comments

3 participants

@jarnoux
Owner

I want to access yui-lang type resources and their yui.name but this: https://github.com/yahoo/mojito/blob/develop/lib/app/addons/rs/yui.js#L545
won't let me. Please find another way to return the resource and prevent the host method from executing. Maybe neutralize the host method? Maybe use Do.Prevent?

@caridy
Owner

/cc @drewfish

@jarnoux
Owner

I'm investigating a way to plug into the yui plugin but it proves tricky as afterHostMethod cannot be used on methods that are already used to wrap around a host method: yui/yui3#1297

@drewfish
Owner

@jarnoux You can solve your problem by using after('addResourceVersion') yes? If so that lowers the priority of this issue, though we should still look at why addons/rs/yui is doing a Do.Halt.

@jarnoux
Owner
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.