CarlRaymond / jquery.cardswipe

jQuery plugin for magnetic card readers
MIT License
115 stars 49 forks source link

Works with IE 11, Firefox, Safari but not IE10 #7

Closed gunther2783 closed 9 years ago

gunther2783 commented 9 years ago

I am facing issues where this solution works perfectly on safari, firefox, IE 11 but not on IE10.

Has anyone come across this issue before and would you by any chance find a solution for it?

gunther2783 commented 9 years ago

Found the problem...just take the last comma ( , ) out of the code below...it has too many comma.

// Defaults for settings
var defaults = {
    enabled: true,
    interdigitTimeout: 250,
    success: defaultSuccessCallback,
    error: null,
    parser: defaultParser,
    firstLineOnly: false,
    prefixCharacter: null,
    debug: false,  <<<<<<<<<--------- remove comma
};
CarlRaymond commented 9 years ago

Fixed on "events" branch.