Skip to content
This repository was archived by the owner on Dec 26, 2018. It is now read-only.
This repository was archived by the owner on Dec 26, 2018. It is now read-only.

Bad characters in vue-touch.js (unnecessary unicode) #98

Open
@DavidRueter

Description

@DavidRueter

In vue-touch.js @next (https://github.com/vuejs/vue-touch/tree/next and https://github.com/vuejs/vue-touch/archive/next.zip) there are two occurrences of unicode non-breaking space characters (C2 A0) in whitespace.

These should really be just normal spaces (20) so that the file can be treated as having ISO-8859-4 (ASCII) character encoding.

Some servers (wrongly?) default to serving up external javascript files as ISO-8859-4. If there is not a compelling reason to have unicode characters in vue-touch.js, it seems better to switch these two unicode characters to normal spaces.

These characters are on two lines, right after the double-pipe || on each line:

line 135:
var options = assign({}, (config[mainGesture] || {}), this$1[(mainGesture + "Options")]);

line 159:
var recognizer = new Hammercapitalize(mainGesture || gesture);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions