dbushell / Responsive-Off-Canvas-Menu

A responsive off-canvas menu using CSS transforms and transitions. This repository contains several demos to support a Smashing Magazine article.
820 stars 217 forks source link

Updating Modernizer #8

Closed since1976 closed 11 years ago

since1976 commented 11 years ago

Hey there,

When I try and update modernizer to a custom version of my own—few extra check (html class names)—I seem to get an error with your main.js code on line 53.

Uncaught TypeError: Object #<Object> has no method 'prefixed'

Any help with resolving this would be great. I have tried looking around to find an answer before posting here and tried debugging it myself though I don't know a great deal about JS, although I'm trying to learn it.

Thanks Dan

johjacb commented 11 years ago

You can build your own version of modernizr at http://modernizr.com/download/

Under the 'Extensibility' area, there is a Modernizr.prefixed() checkbox.

since1976 commented 11 years ago

Oh my god how did I miss that. Thank you one thousand times over.