Skip to content

Conversation

burczyk
Copy link

@burczyk burczyk commented Feb 9, 2014

I added new field and new initialization method to be able to set custom NSBundle where WebViewJavascriptBridge.js.txt file is located.

I'm developing a static library which uses WebViewJavascriptBride and I need to export all resources somehow. With CocoaPods it is easy but if I want to build an .a library file I need to export all resources to Resources.bundle and place it next to .h header files. It would be nice if I could just pass additional argument with this bundle so that WebViewJavascriptBridge can find it's dependencies there :)

If you find it helpful feel free to merge it to your repo. I tried not to make any needless changes.

@marcuswestin
Copy link
Owner

Neat, thanks!

marcuswestin added a commit that referenced this pull request Feb 10, 2014
Added possibility to set custom bundle where core WebViewJavascriptBridge.js script is located.
@marcuswestin marcuswestin merged commit 47d9a9a into marcuswestin:master Feb 10, 2014
@marcuswestin
Copy link
Owner

If you're up for documenting the method in Readme as well (and adding yourself to list of contributors!), that would be even neater :)

@burczyk
Copy link
Author

burczyk commented Apr 3, 2014

Readme updated. Sorry it took so long :)

@marcuswestin
Copy link
Owner

Great! PR please?

@burczyk
Copy link
Author

burczyk commented Apr 4, 2014

You mean this one?
#76

@marcuswestin
Copy link
Owner

Sorry, didn't see :) am traveling and only have a phone to manage this stuff.

Thanks man!

@burczyk
Copy link
Author

burczyk commented Apr 5, 2014

No problem. I'm glad I could help :)

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