Shouldn't examples be in another repo? #71

Closed
pbrewczynski opened this Issue Feb 24, 2014 · 11 comments

Projects

None yet

3 participants

@pbrewczynski

Shouldn't examples be in another repo, so I could without tinkering (ignoring examples), submodule your library ?

@marcuswestin
Owner

I think people have found it very constructive to have working examples right at hand with the source.

What is the problem you're having?

Cheers!

Marcus
-- while mobile

On Mon, Feb 24, 2014 at 9:19 AM, bluesm notifications@github.com wrote:

Shouldn't examples be in another repo, so I could without tinkering (ignoring examples), submodule your library ?

Reply to this email directly or view it on GitHub:
#71

@supriyat2

when i try integrating the html contents in my project i get error as folows-

Uncaught TypeError: Cannot call method 'appendChild' of null index.html:69
(anonymous function) index.html:69
connectWebViewJavascriptBridge index.html:37
(anonymous function)
whats the probable cause of it

@supriyat2

when i try integrating the html contents in my project i get error as folows-

Uncaught TypeError: Cannot call method 'appendChild' of null index.html:69
(anonymous function) index.html:69
connectWebViewJavascriptBridge index.html:37
(anonymous function)
whats the probable cause of it

@supriyat2

when i try integrating the html contents in my project i get error as folows-

Uncaught TypeError: Cannot call method 'appendChild' of null index.html:69
(anonymous function) index.html:69
connectWebViewJavascriptBridge index.html:37
(anonymous function)
whats the probable cause of it

@supriyat2

when i try integrating the html contents in my project i get error as folows-

Uncaught TypeError: Cannot call method 'appendChild' of null index.html:69
(anonymous function) index.html:69
connectWebViewJavascriptBridge index.html:37
(anonymous function)
whats the probable cause of it

@supriyat2

when i try integrating the html contents in my project i get error as folows-

Uncaught TypeError: Cannot call method 'appendChild' of null index.html:69
(anonymous function) index.html:69
connectWebViewJavascriptBridge index.html:37
(anonymous function)
whats the probable cause of it

@supriyat2

when i try integrating the html contents in my project i get error as folows-

Uncaught TypeError: Cannot call method 'appendChild' of null index.html:69
(anonymous function) index.html:69
connectWebViewJavascriptBridge index.html:37
(anonymous function)
whats the probable cause of it

@marcuswestin
Owner

My best guess is that your code calls appendChild somewhere on a variable that is null :)

Have you tried running the example app? If the example app works for you, then the error is probably somewhere in your code, or in another library you're using.

Cheers!

Marcus
-- while mobile

On Wed, Feb 26, 2014 at 4:49 PM, supriyat2 notifications@github.com
wrote:

when i try integrating the html contents in my project i get error as folows-
Uncaught TypeError: Cannot call method 'appendChild' of null index.html:69
(anonymous function) index.html:69
connectWebViewJavascriptBridge index.html:37
(anonymous function)

whats the probable cause of it

Reply to this email directly or view it on GitHub:
#71 (comment)

@supriyat2

Hi,
Thanks for the reply.
I am able to run the example app.
But when i use the contents of exampleapp.html in my own html file ....it
says cannit understand the connecteebvirw java scriptbridge methodre....

If i have webviewjabvascripy bridge somewhere else in my project directory
not locally in xcode ...will ths example work in such situation....

Or this example only needs both the html and js file locaaly to ios?
On Feb 27, 2014 6:27 AM, "Marcus Westin" notifications@github.com wrote:

My best guess is that your code calls appendChild somewhere on a variable
that is null :)

Have you tried running the example app? If the example app works for you,
then the error is probably somewhere in your code, or in another library
you're using.

Cheers!

Marcus
-- while mobile

On Wed, Feb 26, 2014 at 4:49 PM, supriyat2 notifications@github.com
wrote:

when i try integrating the html contents in my project i get error as
folows-
Uncaught TypeError: Cannot call method 'appendChild' of null
index.html:69
(anonymous function) index.html:69
connectWebViewJavascriptBridge index.html:37
(anonymous function)

whats the probable cause of it

Reply to this email directly or view it on GitHub:

#71 (comment)

Reply to this email directly or view it on GitHubhttps://github.com/marcuswestin/WebViewJavascriptBridge/issues/71#issuecomment-36198242
.

@marcuswestin
Owner

Please follow the setup step by step instructions in the readme

https://github.com/marcuswestin/WebViewJavascriptBridge/blob/master/README.md

Those steps have worked for everyone else.

Cheers
-- while mobile

On Thu, Feb 27, 2014 at 9:34 AM, supriyat2 notifications@github.com
wrote:

Hi,
Thanks for the reply.
I am able to run the example app.
But when i use the contents of exampleapp.html in my own html file ....it
says cannit understand the connecteebvirw java scriptbridge methodre....
If i have webviewjabvascripy bridge somewhere else in my project directory
not locally in xcode ...will ths example work in such situation....
Or this example only needs both the html and js file locaaly to ios?
On Feb 27, 2014 6:27 AM, "Marcus Westin" notifications@github.com wrote:

My best guess is that your code calls appendChild somewhere on a variable
that is null :)

Have you tried running the example app? If the example app works for you,
then the error is probably somewhere in your code, or in another library
you're using.

Cheers!

Marcus
-- while mobile

On Wed, Feb 26, 2014 at 4:49 PM, supriyat2 notifications@github.com
wrote:

when i try integrating the html contents in my project i get error as
folows-
Uncaught TypeError: Cannot call method 'appendChild' of null
index.html:69
(anonymous function) index.html:69
connectWebViewJavascriptBridge index.html:37
(anonymous function)

whats the probable cause of it

Reply to this email directly or view it on GitHub:

#71 (comment)

Reply to this email directly or view it on GitHubhttps://github.com/marcuswestin/WebViewJavascriptBridge/issues/71#issuecomment-36198242
.


Reply to this email directly or view it on GitHub:
#71 (comment)

@marcuswestin
Owner

Closing after no activity.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment