Giter Club home page Giter Club logo

madtalk's People

Contributors

masonwan avatar yyfearth avatar

Stargazers

 avatar

Watchers

 avatar  avatar

madtalk's Issues

Channel id limit

channel id should be consist of alphabets, numbers, _ or -, and not case sensitive
regex: /^\/[\w\-]+\/?$/
url: /(channel id) e.g. /cmpe203, /0
and channel id will auto add '/' in front if it is not.

Sound effects legal issue

The sound effects come from HTC notification. I am not sure whether those sound effects are legal to use in this project.

Deal with CoffeeScript mod strict mode support

iced coffee-script compiler does not support "use strict"

the "use strict" we put in the front of coffee file will be compiled after variable declaration by iced-coffee-script, so extra-coffee-script will do the same. but original version coffee-script seems fixed that.

(function() {
  var AudioNotifier;
  'use strict';

according to https://developer.mozilla.org/en/JavaScript/Strict_mode

To invoke strict mode for an entire script, put the exact statement "use strict"; (or 'use strict';) before any other statements.

so we can just remove that, and actually coffee-script will mandatory validate your code to ensure strict mode.
or we need to wait the compiler update to support add "use strict" to the right space unless we just use original version of coffeescript.

Notifications.requestPermission security issue

window.webkitNotifications.requestPermission(); only can be evoked by user action such as onclick

that cannot evoke automatically before show notification.

plan to rewrite DeskNotifier, and add a popup layer view.

rebuild notifier that merge 3 notifiers and embed sound

merge audio, desk, title notifiers into one notifier for each of them is too small, and they can be tested together via one html.

sound need to be suppoted by all browser, so the two kinds of audio format mp3/4 and ogg should be both available.

embed the sounds into js via data uri

temporary only embed 1 sound little with mp3 and ogg format

IE support for deskNotifier

I just check desktop notification on Firefox and IE.

Firefox does not support desktop notification (maybe through plugin). IE does, but with completely different approach, rather than follow W3C draft.

I suggest that we only use desktop notification on Chrome now. I might add IE approach later after the first iteration.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.