Граф коммитов

28 Коммитов

Автор SHA1 Сообщение Дата
Cătălin Mariș 28af5f6f8a
Make minor consistency improvements 2017-06-02 13:10:06 +03:00
Cătălin Mariș 9ad422a08d
Add `newline` at the end of text file
Under UNIX-like OSes, a text file consists of a series of lines, each
of which ends with a `newline` character (`\n`). A file that is not
empty and does not end with a `newline` is therefore considered not to
be a text file.

Because of this, utilities that are supposed to operate on text files
may not cope well with files that don't end with a `newline` (e.g.: they
might ignore the text after the last `newline`).

Adding the `newline` character at the end of the file ensures that users
won't encounter any odd behavior when using it.

Reference/Source: http://unix.stackexchange.com/a/18789.
2017-04-10 10:21:43 +03:00
molant 5fad7d543e Adding skip option for old demos so they are not processed on the server 2017-02-13 16:03:53 -08:00
ststimac a38e2834fc fix a bunch of random conflicts 2017-01-10 15:02:45 -08:00
ststimac d1de8e63bd resolve 2017-01-10 14:46:56 -08:00
Jesus David García Gomez 9db357f73e Fixed scroll in touch effect demo (#273) 2017-01-05 09:26:59 -08:00
Cătălin Mariș d925bdae2b
Use `lang="en-us"` consistently
Fix MicrosoftEdge/Demos#337
2017-01-04 13:14:28 +02:00
Cătălin Mariș 14acd4d22a
Losslessly optimize image 2017-01-03 17:33:27 +02:00
sarvaje d415a1f96d Adding Microsoft Edge demo header 2016-12-22 11:10:24 -08:00
sarvaje 0920b40f6c Changing toucheffects demo to a fullscreen demo 2016-12-22 10:36:10 -08:00
Cătălin Mariș 8e8339cf58
Remove extra `X-UA-Compatible` meta tag 2016-12-22 19:52:07 +02:00
Cătălin Mariș 76bc90ad61
Add charset declaration where missing
Note:

 The charset declaration should be specified as early
 as possible, and must be included completely within
 the first 1024 bytes of the document.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

See also:

  https://www.w3.org/International/questions/qa-html-encoding-declarations.en
  https://html.spec.whatwg.org/multipage/semantics.html#charset
  https://code.google.com/archive/p/doctype-mirror/wikis/ArticleUtf7.wiki
2016-12-22 15:59:27 +02:00
Cătălin Mariș 6e14a36c78
Remove redundant `type` attributes
The HTML specification defines default values for the `type` attribute
for the `<script>`¹ and `<style>`² elements.

Browsers follow the specification so, unless a different value than the
default is needed, the `type` attribute can be omitted, being redundant.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

¹ https://html.spec.whatwg.org/multipage/scripting.html#attr-script-type

   " Omitting the attribute, or setting it to a JavaScript
     MIME type, means that the script is a classic script,
     to be interpreted according to the JavaScript Script
     top-level production. Classic scripts are affected by
     the charset, async, and defer attributes. __Authors
     should omit the attribute, instead of redundantly giving
     a JavaScript MIME type.__ "

  https://html.spec.whatwg.org/multipage/scripting.html#prepare-a-script

   " 6. If either:

        * the `script` element has a `type` attribute and its
          value is the empty string, or
        * the `script` element has no `type` attribute but it
          has a `language` attribute and that attribute's value
          is the empty string, or
        * the `script` element has neither a `type` attribute
          nor a `language` attribute, then

        ...let the script block's type string for this script
        element be `text/javascript`. "

² https://html.spec.whatwg.org/multipage/semantics.html#attr-style-type

  " The default value for the type attribute, which is used
    if the attribute is absent, is `text/css`. "
2016-12-15 15:14:58 +02:00
Cătălin Mariș b283b3210c
Add `lang` attribute to `<html>` elements
Ref: http://blog.adrianroselli.com/2015/01/on-use-of-lang-attribute.html

Close #211
2016-12-14 12:23:06 +02:00
molant 6f3b64b5fd Removing code referencing bee.png 2016-10-26 15:04:10 -07:00
Matt Rakow d8997de9d2 Adding unprefixed pointer support, fixing #69 2015-06-09 17:40:45 -07:00
molant 64c456b06c Removing container so the demo is bigger 2015-05-29 11:54:29 -07:00
molant ef59cdc7ff Fixing layout for fullscreen support 2015-05-29 11:27:45 -07:00
David García f5c1810df2 Fixed toucheffect demo to work on Firefox. 2015-04-29 23:36:38 +02:00
David García 1325f156a2 fixing canvas size in toucheffect demo
removed margins in demo controls
2015-04-29 23:20:12 +02:00
David García c2ddf5b631 Added overflow hidden to the container in toucheffect demo 2015-04-29 22:03:20 +02:00
David García 0e9e1978b2 Removed absolute position to canvas in toucheffect demo 2015-04-29 17:46:44 +02:00
David García da4653155d Change controls positions to absolute in toucheffects 2015-04-29 17:44:40 +02:00
David García 8a6f7f86ce Removed canvas margin in toucheffect demo. 2015-04-29 17:43:55 +02:00
David García 8eb99875b4 Added position relative to container in troucheffect demo. 2015-04-29 17:21:51 +02:00
David García ccb2a7088f removed body and html styles from touchefects demo styles. 2015-04-29 17:18:03 +02:00
David García e5830d4884 Added container div in toucheffects demo 2015-04-29 17:17:30 +02:00
molant 1defbda3a6 Adding toucheffects 2015-04-23 15:59:42 -07:00