modularis 0.1 → 1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- YmQxOGVmMDM3NDk2MzhkM2ZjMjAyZjk0ZTdmMTYzMzUxOWRhODI1Mw==
4
+ NWRlMDE3NmE2YTg0ZTlkMTE2MDBlZDNkM2U3OGY3MTNkODljNjRlNA==
5
5
  data.tar.gz: !binary |-
6
- OWU0NDFkNjc5ZjI0NGRjZjRkNmI2ZDRiNjM4MzA2MDg0OGJlZjA5Yw==
6
+ OTE0OWJkMThlMTQwOTdmYmYwZjM0Y2RiYzUwYTQwNWJlZTUwNTNjMw==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- NmZjNTdkYzY2OTAzZDU4MThkMDAwYThhMGU4M2UwZTZjMGMzNDJlMGZmMjlh
10
- ODYyYjkyYzEwY2IyZWE2NzQ5NTlkMmJkZDlhMWEyOTdmNzkwYmRmMzc3OGE0
11
- ZjhmNTc4YzAzYzA5OGMwNGM1NGM2OWE3MWVmNTJhMDE2NDhmOWU=
9
+ YTY3MjQ4ODUxMzY4Yjg4YWVkNWZmMDliMDVlNTYzY2M5MWUxNTU0OTg1ZjEx
10
+ NjQ2NWNmZTNmMjBhNjYyMWIzZjI4NmQ3MmQwNmNkMjM2YjNiNDM5MWJiMWIw
11
+ MjljZTk2NjZkOTg4OTUxODA5NzczY2NlNTI5ZDhiYjJiOTBkYjU=
12
12
  data.tar.gz: !binary |-
13
- MmYwNjdlZTczMjk0Yzg2N2RjMzEyYzVmY2YxNjYwOTZkNzQzM2Y0NDg1MWUy
14
- NjIxMzdlYjdkOGYyNWY4Y2JjZGQ3YmRjZjUwNTNhZWRiYWE2NjRmZWM2Njg2
15
- OWU4YTg3NDBlODRhZWUzNzIxNzg5ODVhYzE5NzU3YjRiMDg2Y2U=
13
+ MWNiYjMwY2I3Y2M1MmQyZmRiMDY1MjRmYzBjZjVlMzhhZjlmNjk1MjQwMjIw
14
+ YTIzNTFkNjQ3NmM1NmMxZWE4MjQ4ZGZlMzIzYzk0YmQ0NjBjZjVjYmQ2ZjYz
15
+ NGE1NmFlOGZiNjFiNjI2MTY0NWJlZWExYzJlZGY4MTRhMWRmMDM=
data/CHANGELOG.md ADDED
File without changes
data/README.md CHANGED
@@ -1,25 +1,54 @@
1
- Welcome to Modularis
2
- =====================
3
-
4
- This is the work-in-progress branch for Modularis 5 currently in development. Things are as likely to work as not and don't consider anything as done or canonical to 5 until we actually roll out the new version. That being said, comments and pull requests are welcome.
5
-
6
- Repo Contents
7
- =============
8
-
9
- * Base Source and Compilation Files for SCSS
10
- * Docs
11
- * README
12
-
13
- ThemePile
14
- ====
15
-
16
- Modularis was made by [ThemePile](http://themepile.co.uk)
17
-
18
- MIT Open Source License
19
- =======================
20
-
21
- 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 use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
22
-
23
- The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
24
-
25
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
1
+ Compass Extension Template
2
+ ==========================
3
+
4
+ Whenever I'm creating a [Compass extension](http://compass-style.org/help/tutorials/extensions/), I find that I always use the same basic template for creating extensions, and that the project that Compass comes with isn't quite complete enough to get me where I need to be. With that in mind, I've created this little project to get you on your way. Here's a little template that I've put together to kickstart Compass extension development. Wherever it says "Extension" in the template files/file names, replace it with *your* extension's name. All files are self documented; please read the documentation there.
5
+
6
+ ## lib/extension.rb
7
+
8
+ Your `lib` directory is your Ruby directory. The main file in here is **extension.rb** which contains the information that Compass needs to make your Extension run like a champ. It contains the Compass requires for other gems (like you would include in *config.rb* normally), the code to register your extension with Compass, the version number and date of the version, and any SassScript you may want to write.
9
+
10
+ ## stylesheets/_extension.scss
11
+
12
+ Your `stylesheets` directory is where you write all of your extension's Sass! I've included **_extension.scss**, but you can include whatever you'd like. Write Sass or SCSS, do what works for you! Have sub folders, have sub partials, this is your playground. Important to note: make sure that every file in here is a Partial unless there is a file you specifically want to be output as a full file. Generally speaking, most Compass extensions *only* have partial files.
13
+
14
+ ## templates/project
15
+
16
+ Your `templates` directory is where you store any project templates/patterns you'd like a user to be able to use. The Compass Extension documentation explains in full what a template/pattern can do, the one provided is a generic one including print, i.e., and screen stylesheets that will import your extension. This will provide users with the ability to create a new project using your Compass extension in the following way:
17
+
18
+ `compass create <my_project> -r extension --using extension`
19
+
20
+ ## CHANGELOG.md/README.md
21
+
22
+ These files aren't required for your Compass extension, but I really like including them as they are useful for Users to understand the direction of your Compass extension. Yes! That means you get to throw this README out and write your own! Do it!
23
+
24
+ ## extension.gemspec
25
+
26
+ This is the magic file that will turn your collection of files into a packaged Compass extension! It's all laid out for you, just add/change what you need! When you're all done editing what you need, in the command line, from the directory where that lives, type the following:
27
+
28
+ `gem build extension.gemspec`
29
+
30
+ This will bundle your extension up into a Ruby gem. From there, if you're just using it locally, you can install your Extension in by typing the following:
31
+
32
+ `gem install extension-VERSION.gem`
33
+
34
+ If you're looking to distribute your extension, first, make sure you've got a [Ruby Gems](http://rubygems.org/) account, and type in the following:
35
+
36
+ `gem push extension-VERSION.gem`
37
+
38
+ If you're not logged in to Ruby Gems, it will ask you to log in, then it will push your extension up to Ruby Gems! Tada! It's now distributed to the world! To install a Compass extension from Ruby Gems, it's as simple as:
39
+
40
+ `gem install extension`
41
+
42
+ <hr>
43
+
44
+ # AND YOU'RE DONE.
45
+
46
+ <hr>
47
+
48
+ ## Special Thanks
49
+ Super special thanks goes out to [Nathan Weizenbaum](https://github.com/nex3/) for Sass, [Chris Eppstein](https://github.com/chriseppstein/) for Compass, and [Mason Wendell](https://github.com/canarymason/) and [Scott Kellum](https://github.com/scottkellum/), my Compass extension partners in crime. Much of what's presented here is an amalgamation of what Chris, Mason, and Scott have taught me, so double thanks to them.
50
+
51
+ ## License
52
+ [Creative Commons Attribution 3.0](http://creativecommons.org/licenses/by/3.0). Go wild.
53
+
54
+ If you're able to link me to your extension so I can see what you've built, that'd be awesome!
data/lib/modularis.rb CHANGED
@@ -1,17 +1,9 @@
1
- root = File.join(File.dirname(__FILE__), "..")
2
- require "modularis/version"
3
-
4
- if defined?(Rails)
5
- require "modularis/generators/install_generator"
6
- end
7
-
8
- module Modularis
9
- require "modularis/engine" if defined?(Rails)
10
- end
11
-
12
- if defined?(Compass)
13
- Compass::Frameworks.register("modularis",
14
- :stylesheets_directory => File.join(root,"scss"),
15
- :templates_directory => File.join(root,"templates")
16
- )
1
+ require 'compass'
2
+
3
+ extension_path = File.expand_path(File.join(File.dirname(__FILE__), ".."))
4
+ Compass::Frameworks.register('extension', :path => extension_path)
5
+
6
+ module Modularis
7
+ VERSION = "1.0"
8
+ DATE = "2013-05-27"
17
9
  end
metadata CHANGED
@@ -1,10 +1,10 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: modularis
3
3
  version: !ruby/object:Gem::Version
4
- version: '0.1'
4
+ version: '1.0'
5
5
  platform: ruby
6
6
  authors:
7
- - ThemePile
7
+ - Gennadiy Ukhanov
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
@@ -25,62 +25,29 @@ dependencies:
25
25
  - !ruby/object:Gem::Version
26
26
  version: 3.2.0
27
27
  - !ruby/object:Gem::Dependency
28
- name: rake
28
+ name: compass
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - ! '>='
32
32
  - !ruby/object:Gem::Version
33
- version: '0'
34
- type: :development
33
+ version: 0.12.1
34
+ type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - ! '>='
39
39
  - !ruby/object:Gem::Version
40
- version: '0'
41
- description: a powerful, scalable, Sass-based, BEM, OOCSS framework
40
+ version: 0.12.1
41
+ description: A generalized Compass modularis to build off of
42
42
  email:
43
43
  - shaggysmile@gmail.com
44
44
  executables: []
45
45
  extensions: []
46
46
  extra_rdoc_files: []
47
47
  files:
48
- - .gitignore
49
- - .idea/scopes/scope_settings.xml
50
- - .rbenv-version
51
- - CONTRIBUTING.md
52
- - Gemfile
53
- - Gemfile.lock
54
- - Gruntfile.js
55
- - LICENSE
56
48
  - README.md
57
- - Rakefile
58
- - js/modularis/index.js
59
- - js/vendor/custom.modernizr.js
60
- - js/vendor/jquery.js
61
- - js/vendor/zepto.js
49
+ - CHANGELOG.md
62
50
  - lib/modularis.rb
63
- - lib/modularis/engine.rb
64
- - lib/modularis/generators/USAGE
65
- - lib/modularis/generators/install_generator.rb
66
- - lib/modularis/generators/templates/application.html.erb
67
- - lib/modularis/generators/templates/application.html.haml
68
- - lib/modularis/generators/templates/application.html.slim
69
- - lib/modularis/version.rb
70
- - modularis.gemspec
71
- - package.json
72
- - scss/compagecss/_settings.scss
73
- - scss/modularis.scss
74
- - scss/normalize.scss
75
- - templates/project/.gitignore
76
- - templates/project/MIT-LICENSE.txt
77
- - templates/project/config.rb
78
- - templates/project/humans.txt
79
- - templates/project/index.html
80
- - templates/project/manifest.rb
81
- - templates/project/robots.txt
82
- - templates/project/scss/app.scss
83
- - templates/upgrade/manifest.rb
84
51
  homepage: http://modularis.themepile.co.uk
85
52
  licenses: []
86
53
  metadata: {}
@@ -97,11 +64,11 @@ required_rubygems_version: !ruby/object:Gem::Requirement
97
64
  requirements:
98
65
  - - ! '>='
99
66
  - !ruby/object:Gem::Version
100
- version: '0'
67
+ version: 1.3.6
101
68
  requirements: []
102
- rubyforge_project:
69
+ rubyforge_project: modularis
103
70
  rubygems_version: 2.0.3
104
71
  signing_key:
105
72
  specification_version: 4
106
- summary: a powerful, scalable, Sass-based, BEM, OOCSS framework
73
+ summary: An easy to use system for writing and managing media queries.
107
74
  test_files: []
data/.gitignore DELETED
@@ -1,24 +0,0 @@
1
- *.gem
2
- *.rbc
3
- .bundle
4
- .config
5
- .yardoc
6
- InstalledFiles
7
- _yardoc
8
- coverage
9
- doc/
10
- lib/bundler/man
11
- pkg
12
- rdoc
13
- spec/reports
14
- tmp
15
- *.DS_Store
16
- marketing/.sass-cache/*
17
- .sass-cache/*
18
- test/.sass-cache/*
19
- test/css/styles.css
20
- *.orig
21
- node_modules
22
- docs/public/*
23
- *.scssc
24
- *.idea
@@ -1,5 +0,0 @@
1
- <component name="DependencyValidationManager">
2
- <state>
3
- <option name="SKIP_IMPORT_STATEMENTS" value="false" />
4
- </state>
5
- </component>
data/.rbenv-version DELETED
@@ -1 +0,0 @@
1
- 1.9.3-p194
data/CONTRIBUTING.md DELETED
@@ -1,53 +0,0 @@
1
- # Modularis
2
-
3
- This is the Modularis project. We love making super awesome stuff, but even more we like to empower people to make changes on their own. Feel free to fork and improve Modularis.
4
-
5
- <!-- ### JavaScript
6
-
7
- The Modularis JS libraries are tested with qUnit. You can run the tests in your browser by opening up the respective `.html` files in `test/javascripts/tests/`.
8
-
9
- For more convenient testing using the command line and watcher functionality, you can also run the tests through Grunt with PhantomJS.
10
-
11
- **Setting up Grunt for command line testing.**
12
-
13
- 1. Install [PhantomJS](http://phantomjs.org/)
14
- 2. Install [Node.js](http://nodejs.org/)
15
- 3. You may need to reboot your machine to make sure your PATH is up to date.
16
- 4. From the root of the project, `npm install`. This will install the grunt tasks locally.
17
- 5. Install the grunt command line interface with `npm install -g grunt-cli`.
18
-
19
- Now you should have two new commands available. `grunt qunit` will execute all of the qUnit tests. `grunt watch` will watch for changes to the JS files and test files, and execute the tests when something changes. -->
20
-
21
- ## Compass Project
22
-
23
- If you have a compass project and would like updated assets you can run the following command at any given time from within your project directory:
24
-
25
- compass create -r themepile-modularis --using modularis
26
-
27
- ## Development
28
-
29
- Want to test out the Compass templates. Don't recompile the gem every time, use `bundler` like so:
30
-
31
- ```bash
32
- mkdir demo1
33
- cd demo1
34
- echo -e 'source :rubygems\n
35
- gem "themepile-modularis", :path => "/path/to/modularis/repo"\n
36
- gem "compass"\n' > Gemfile
37
- bundle exec compass create -r themepile-modularis --using modularis
38
- ```
39
-
40
- On subsequent template updates use:
41
-
42
- ```bash
43
- bundle exec compass create -r themepile-modularis --using modularis --force
44
- ```
45
-
46
- ## Contributing
47
-
48
- 1. Fork it
49
- 2. Create your feature branch (`git checkout -b my-new-feature`)
50
- 3. Test your changes to the best of your ability. We've provided a test/ folder, feel free to add to it as necessary.
51
- 4. Commit your changes (`git commit -am 'Added some feature'`)
52
- 5. Push to the branch (`git push origin my-new-feature`)
53
- 6. Create new Pull Request
data/Gemfile DELETED
@@ -1,4 +0,0 @@
1
- source 'https://rubygems.org'
2
-
3
- # Specify your gem's dependencies in modularis.gemspec
4
- gemspec
data/Gemfile.lock DELETED
@@ -1,19 +0,0 @@
1
- PATH
2
- remote: .
3
- specs:
4
- modularis (0.0.1)
5
- sass (>= 3.2.0)
6
-
7
- GEM
8
- remote: https://rubygems.org/
9
- specs:
10
- rake (10.0.3)
11
- sass (3.2.7)
12
-
13
- PLATFORMS
14
- ruby
15
- x86-mingw32
16
-
17
- DEPENDENCIES
18
- rake
19
- modularis!
data/Gruntfile.js DELETED
@@ -1,27 +0,0 @@
1
- module.exports = function(grunt) {
2
-
3
- grunt.loadNpmTasks('grunt-contrib-qunit');
4
- grunt.loadNpmTasks('grunt-contrib-watch');
5
-
6
- grunt.initConfig({
7
- qunit: {
8
- all: ['test/javascripts/tests/**/*.html']
9
- },
10
- watch: {
11
- all: {
12
- files: [
13
- 'test/javascripts/tests/**/*.html',
14
- 'test/javascripts/tests/**/*.js',
15
- 'lib/assets/javascripts/modularis/*.js'
16
- ],
17
- tasks: 'default',
18
- options: {
19
- interrupt: true
20
- }
21
- }
22
- }
23
- });
24
-
25
- // Default task.
26
- grunt.registerTask('default', ['qunit']);
27
- };
data/LICENSE DELETED
@@ -1,22 +0,0 @@
1
- Copyright (c) 2012 Mark Hayes
2
-
3
- MIT License
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining
6
- a copy of this software and associated documentation files (the
7
- "Software"), to deal in the Software without restriction, including
8
- without limitation the rights to use, copy, modify, merge, publish,
9
- distribute, sublicense, and/or sell copies of the Software, and to
10
- permit persons to whom the Software is furnished to do so, subject to
11
- the following conditions:
12
-
13
- The above copyright notice and this permission notice shall be
14
- included in all copies or substantial portions of the Software.
15
-
16
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17
- EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18
- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
19
- NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
20
- LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
21
- OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
22
- WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/Rakefile DELETED
@@ -1,2 +0,0 @@
1
- #!/usr/bin/env rake
2
- require "bundler/gem_tasks"
@@ -1,18 +0,0 @@
1
- /*
2
- =require modularis/modularis
3
- =require modularis/modularis.alerts
4
- =require modularis/modularis.clearing
5
- =require modularis/modularis.cookie
6
- =require modularis/modularis.dropdown
7
- =require modularis/modularis.forms
8
- =require modularis/modularis.joyride
9
- =require modularis/modularis.magellan
10
- =require modularis/modularis.offcanvas
11
- =require modularis/modularis.flip
12
- =require modularis/modularis.orbit
13
- =require modularis/modularis.placeholder
14
- =require modularis/modularis.reveal
15
- =require modularis/modularis.section
16
- =require modularis/modularis.tooltips
17
- =require modularis/modularis.topbar
18
- */
@@ -1,4 +0,0 @@
1
- /* Modernizr 2.6.2 (Custom Build) | MIT & BSD
2
- * Build: http://modernizr.com/download/#-inlinesvg-svg-svgclippaths-touch-shiv-mq-cssclasses-teststyles-prefixes-ie8compat-load
3
- */
4
- ;window.Modernizr=function(a,b,c){function y(a){j.cssText=a}function z(a,b){return y(m.join(a+";")+(b||""))}function A(a,b){return typeof a===b}function B(a,b){return!!~(""+a).indexOf(b)}function C(a,b,d){for(var e in a){var f=b[a[e]];if(f!==c)return d===!1?a[e]:A(f,"function")?f.bind(d||b):f}return!1}var d="2.6.2",e={},f=!0,g=b.documentElement,h="modernizr",i=b.createElement(h),j=i.style,k,l={}.toString,m=" -webkit- -moz- -o- -ms- ".split(" "),n={svg:"http://www.w3.org/2000/svg"},o={},p={},q={},r=[],s=r.slice,t,u=function(a,c,d,e){var f,i,j,k,l=b.createElement("div"),m=b.body,n=m||b.createElement("body");if(parseInt(d,10))while(d--)j=b.createElement("div"),j.id=e?e[d]:h+(d+1),l.appendChild(j);return f=["&#173;",'<style id="s',h,'">',a,"</style>"].join(""),l.id=h,(m?l:n).innerHTML+=f,n.appendChild(l),m||(n.style.background="",n.style.overflow="hidden",k=g.style.overflow,g.style.overflow="hidden",g.appendChild(n)),i=c(l,a),m?l.parentNode.removeChild(l):(n.parentNode.removeChild(n),g.style.overflow=k),!!i},v=function(b){var c=a.matchMedia||a.msMatchMedia;if(c)return c(b).matches;var d;return u("@media "+b+" { #"+h+" { position: absolute; } }",function(b){d=(a.getComputedStyle?getComputedStyle(b,null):b.currentStyle)["position"]=="absolute"}),d},w={}.hasOwnProperty,x;!A(w,"undefined")&&!A(w.call,"undefined")?x=function(a,b){return w.call(a,b)}:x=function(a,b){return b in a&&A(a.constructor.prototype[b],"undefined")},Function.prototype.bind||(Function.prototype.bind=function(b){var c=this;if(typeof c!="function")throw new TypeError;var d=s.call(arguments,1),e=function(){if(this instanceof e){var a=function(){};a.prototype=c.prototype;var f=new a,g=c.apply(f,d.concat(s.call(arguments)));return Object(g)===g?g:f}return c.apply(b,d.concat(s.call(arguments)))};return e}),o.touch=function(){var c;return"ontouchstart"in a||a.DocumentTouch&&b instanceof DocumentTouch?c=!0:u(["@media (",m.join("touch-enabled),("),h,")","{#modernizr{top:9px;position:absolute}}"].join(""),function(a){c=a.offsetTop===9}),c},o.svg=function(){return!!b.createElementNS&&!!b.createElementNS(n.svg,"svg").createSVGRect},o.inlinesvg=function(){var a=b.createElement("div");return a.innerHTML="<svg/>",(a.firstChild&&a.firstChild.namespaceURI)==n.svg},o.svgclippaths=function(){return!!b.createElementNS&&/SVGClipPath/.test(l.call(b.createElementNS(n.svg,"clipPath")))};for(var D in o)x(o,D)&&(t=D.toLowerCase(),e[t]=o[D](),r.push((e[t]?"":"no-")+t));return e.addTest=function(a,b){if(typeof a=="object")for(var d in a)x(a,d)&&e.addTest(d,a[d]);else{a=a.toLowerCase();if(e[a]!==c)return e;b=typeof b=="function"?b():b,typeof f!="undefined"&&f&&(g.className+=" "+(b?"":"no-")+a),e[a]=b}return e},y(""),i=k=null,function(a,b){function k(a,b){var c=a.createElement("p"),d=a.getElementsByTagName("head")[0]||a.documentElement;return c.innerHTML="x<style>"+b+"</style>",d.insertBefore(c.lastChild,d.firstChild)}function l(){var a=r.elements;return typeof a=="string"?a.split(" "):a}function m(a){var b=i[a[g]];return b||(b={},h++,a[g]=h,i[h]=b),b}function n(a,c,f){c||(c=b);if(j)return c.createElement(a);f||(f=m(c));var g;return f.cache[a]?g=f.cache[a].cloneNode():e.test(a)?g=(f.cache[a]=f.createElem(a)).cloneNode():g=f.createElem(a),g.canHaveChildren&&!d.test(a)?f.frag.appendChild(g):g}function o(a,c){a||(a=b);if(j)return a.createDocumentFragment();c=c||m(a);var d=c.frag.cloneNode(),e=0,f=l(),g=f.length;for(;e<g;e++)d.createElement(f[e]);return d}function p(a,b){b.cache||(b.cache={},b.createElem=a.createElement,b.createFrag=a.createDocumentFragment,b.frag=b.createFrag()),a.createElement=function(c){return r.shivMethods?n(c,a,b):b.createElem(c)},a.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+l().join().replace(/\w+/g,function(a){return b.createElem(a),b.frag.createElement(a),'c("'+a+'")'})+");return n}")(r,b.frag)}function q(a){a||(a=b);var c=m(a);return r.shivCSS&&!f&&!c.hasCSS&&(c.hasCSS=!!k(a,"article,aside,figcaption,figure,footer,header,hgroup,nav,section{display:block}mark{background:#FF0;color:#000}")),j||p(a,c),a}var c=a.html5||{},d=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,e=/^(?:a|b|code|div|fieldset|h1|h2|h3|h4|h5|h6|i|label|li|ol|p|q|span|strong|style|table|tbody|td|th|tr|ul)$/i,f,g="_html5shiv",h=0,i={},j;(function(){try{var a=b.createElement("a");a.innerHTML="<xyz></xyz>",f="hidden"in a,j=a.childNodes.length==1||function(){b.createElement("a");var a=b.createDocumentFragment();return typeof a.cloneNode=="undefined"||typeof a.createDocumentFragment=="undefined"||typeof a.createElement=="undefined"}()}catch(c){f=!0,j=!0}})();var r={elements:c.elements||"abbr article aside audio bdi canvas data datalist details figcaption figure footer header hgroup mark meter nav output progress section summary time video",shivCSS:c.shivCSS!==!1,supportsUnknownElements:j,shivMethods:c.shivMethods!==!1,type:"default",shivDocument:q,createElement:n,createDocumentFragment:o};a.html5=r,q(b)}(this,b),e._version=d,e._prefixes=m,e.mq=v,e.testStyles=u,g.className=g.className.replace(/(^|\s)no-js(\s|$)/,"$1$2")+(f?" js "+r.join(" "):""),e}(this,this.document),function(a,b,c){function d(a){return"[object Function]"==o.call(a)}function e(a){return"string"==typeof a}function f(){}function g(a){return!a||"loaded"==a||"complete"==a||"uninitialized"==a}function h(){var a=p.shift();q=1,a?a.t?m(function(){("c"==a.t?B.injectCss:B.injectJs)(a.s,0,a.a,a.x,a.e,1)},0):(a(),h()):q=0}function i(a,c,d,e,f,i,j){function k(b){if(!o&&g(l.readyState)&&(u.r=o=1,!q&&h(),l.onload=l.onreadystatechange=null,b)){"img"!=a&&m(function(){t.removeChild(l)},50);for(var d in y[c])y[c].hasOwnProperty(d)&&y[c][d].onload()}}var j=j||B.errorTimeout,l=b.createElement(a),o=0,r=0,u={t:d,s:c,e:f,a:i,x:j};1===y[c]&&(r=1,y[c]=[]),"object"==a?l.data=c:(l.src=c,l.type=a),l.width=l.height="0",l.onerror=l.onload=l.onreadystatechange=function(){k.call(this,r)},p.splice(e,0,u),"img"!=a&&(r||2===y[c]?(t.insertBefore(l,s?null:n),m(k,j)):y[c].push(l))}function j(a,b,c,d,f){return q=0,b=b||"j",e(a)?i("c"==b?v:u,a,b,this.i++,c,d,f):(p.splice(this.i++,0,a),1==p.length&&h()),this}function k(){var a=B;return a.loader={load:j,i:0},a}var l=b.documentElement,m=a.setTimeout,n=b.getElementsByTagName("script")[0],o={}.toString,p=[],q=0,r="MozAppearance"in l.style,s=r&&!!b.createRange().compareNode,t=s?l:n.parentNode,l=a.opera&&"[object Opera]"==o.call(a.opera),l=!!b.attachEvent&&!l,u=r?"object":l?"script":"img",v=l?"script":u,w=Array.isArray||function(a){return"[object Array]"==o.call(a)},x=[],y={},z={timeout:function(a,b){return b.length&&(a.timeout=b[0]),a}},A,B;B=function(a){function b(a){var a=a.split("!"),b=x.length,c=a.pop(),d=a.length,c={url:c,origUrl:c,prefixes:a},e,f,g;for(f=0;f<d;f++)g=a[f].split("="),(e=z[g.shift()])&&(c=e(c,g));for(f=0;f<b;f++)c=x[f](c);return c}function g(a,e,f,g,h){var i=b(a),j=i.autoCallback;i.url.split(".").pop().split("?").shift(),i.bypass||(e&&(e=d(e)?e:e[a]||e[g]||e[a.split("/").pop().split("?")[0]]),i.instead?i.instead(a,e,f,g,h):(y[i.url]?i.noexec=!0:y[i.url]=1,f.load(i.url,i.forceCSS||!i.forceJS&&"css"==i.url.split(".").pop().split("?").shift()?"c":c,i.noexec,i.attrs,i.timeout),(d(e)||d(j))&&f.load(function(){k(),e&&e(i.origUrl,h,g),j&&j(i.origUrl,h,g),y[i.url]=2})))}function h(a,b){function c(a,c){if(a){if(e(a))c||(j=function(){var a=[].slice.call(arguments);k.apply(this,a),l()}),g(a,j,b,0,h);else if(Object(a)===a)for(n in m=function(){var b=0,c;for(c in a)a.hasOwnProperty(c)&&b++;return b}(),a)a.hasOwnProperty(n)&&(!c&&!--m&&(d(j)?j=function(){var a=[].slice.call(arguments);k.apply(this,a),l()}:j[n]=function(a){return function(){var b=[].slice.call(arguments);a&&a.apply(this,b),l()}}(k[n])),g(a[n],j,b,n,h))}else!c&&l()}var h=!!a.test,i=a.load||a.both,j=a.callback||f,k=j,l=a.complete||f,m,n;c(h?a.yep:a.nope,!!i),i&&c(i)}var i,j,l=this.yepnope.loader;if(e(a))g(a,0,l,0);else if(w(a))for(i=0;i<a.length;i++)j=a[i],e(j)?g(j,0,l,0):w(j)?B(j):Object(j)===j&&h(j,l);else Object(a)===a&&h(a,l)},B.addPrefix=function(a,b){z[a]=b},B.addFilter=function(a){x.push(a)},B.errorTimeout=1e4,null==b.readyState&&b.addEventListener&&(b.readyState="loading",b.addEventListener("DOMContentLoaded",A=function(){b.removeEventListener("DOMContentLoaded",A,0),b.readyState="complete"},0)),a.yepnope=k(),a.yepnope.executeStack=h,a.yepnope.injectJs=function(a,c,d,e,i,j){var k=b.createElement("script"),l,o,e=e||B.errorTimeout;k.src=a;for(o in d)k.setAttribute(o,d[o]);c=j?h:c||f,k.onreadystatechange=k.onload=function(){!l&&g(k.readyState)&&(l=1,c(),k.onload=k.onreadystatechange=null)},m(function(){l||(l=1,c(1))},e),i?k.onload():n.parentNode.insertBefore(k,n)},a.yepnope.injectCss=function(a,c,d,e,g,i){var e=b.createElement("link"),j,c=i?h:c||f;e.href=a,e.rel="stylesheet",e.type="text/css";for(j in d)e.setAttribute(j,d[j]);g||(n.parentNode.insertBefore(e,n),m(c,0))}}(this,document),Modernizr.load=function(){yepnope.apply(window,[].slice.call(arguments,0))},Modernizr.addTest("ie8compat",function(){return!window.addEventListener&&document.documentMode&&document.documentMode===7});