<commit_before>[![Build Status](https://travis-ci.org/treshugart/skate.png?branch=master)](https://travis-ci.org/treshugart/skate)

Skate
=====

Skate is a web component library that allows you to define behaviour for pre-defined and custom HTML elements.

Installing
----------

You can install Skate using Bower or by downloading the source from the repository.

    bower install skate --save

Usage
-----

Creating a new component out of existing and new DOM elements is as easy as passing a CSS selector and a component definition.

    skate('input[type="date"]', function() {
      // "date"
      console.log(this.type);
    });

Docs
----

The full documentation is available at [http://treshugart.github.io/skate/](http://treshugart.github.io/skate/).

Compatibility
-------------

IE9+ and all evergreens.

License
-------

The MIT License (MIT)

Copyright (c) 2014 <NAME>

Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to<commit_msg>Update readme.<commit_after>[![Build Status](https://travis-ci.org/treshugart/skate.png?branch=master)](https://travis-ci.org/treshugart/skate)

Skate
=====

Skate is a web component library that allows you to define behaviour for elements without worrying about when that element is inserted into the DOM.

HTML

    <my-component></my-component>

JavaScript

    skate('my-component', function(element) {
      element.textContent = 'Hello, World!';
    });

Output

    Hello, World!

Installing
----------

You can install Skate using Bower or by downloading the source from the repository.

    bower install skate

### AMD

Skate supports AMD if detected and is registered as `skate`. You must ensure that when you `require(['skate'])` that you have pointed that module to the correct path. In RequireJS you would use the `paths` configuration option:

    require.config({
      paths: {
        skate: 'bower_components/skate/dist/skate'
      }
    });

### Global

If you're still skating old school, we've got you covered. Just make sure skate is included on the page and you can access it via `window.skate`.

Docs
----

The full documentation is available at [http://treshugart.github.io/skate/](http://treshugart.github.io/skate/).

Compatibility
-------------

IE9+ and all evergreens.

License
-------

The MIT License (MIT)

Copyright (c) 2014 <NAME>

Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
{'fraction_non_alphanumeric': 0.11521580102414046, 'fraction_numerical': 0.0036576444769568397, 'mean_word_length': 3.550748752079867, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3415022', 'n_tokens_mistral': 787, 'n_tokens_neox': 752, 'n_words': 307}