removes anonymous callbacks in view
Merge pull request #21 from nifengle/view-callbacks

removes anonymous callbacks in view