The intent was to show the radicals at this mosque(if there are any left, but it is safe to say that someone at this mosque probably radicalized the two young men who tried to shoot up the Texas event) that Americans will not be cowed by fear. I'm not saying that the organizer didn't probably take some joy in knowing that it would piss some Muslims off, but that's not the same as his saying, "Hey, I feel like pissing some Muslims off today. I think I will go stand outside of a mosque and draw pictures of Muhammad!"
I do find it ironic that some people who appear to be so offended by this event because of it's inflammatory nature, were making excuses for people holding up signs that said "Fuck the Police" in places like Ferguson and Baltimore. So, honestly, I question some of your actual convictions.