-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3,495 changed files
with
692,473 additions
and
0 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{ "directory" : "." } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
{ | ||
"name": "web-components-book-code-examples", | ||
"version": "0.0.0", | ||
"authors": [ | ||
"Jason Strimpel <[email protected]>" | ||
], | ||
"description": "a flattened version of the book code samples", | ||
"moduleType": [ | ||
"globals" | ||
], | ||
"keywords": [ | ||
"web components" | ||
], | ||
"license": "MIT", | ||
"homepage": "https://github.com/WebComponentsBook/code-examples", | ||
"ignore": [ | ||
"**/.*", | ||
"node_modules", | ||
"bower_components", | ||
"vendor", | ||
"test", | ||
"tests" | ||
], | ||
"dependencies": { | ||
"chapter-16_grunt-vulcanize": "*", | ||
"chapter-16_vulcanize": "*", | ||
"x-dialog-chapter-15_karma": "*", | ||
"chapter-14_x-dialog": "*", | ||
"chapter-14_x-dialog-nojquery": "*", | ||
"chapter-9_dialog": "*", | ||
"chapter-8_apache-chief": "*", | ||
"chapter-8_dialog": "*", | ||
"chapter-7_shamen": "*", | ||
"chapter-7_dialog": "*", | ||
"chapter-6_duvet": "*", | ||
"chapter-6_dialog": "*", | ||
"chapter-5_dialog": "*", | ||
"chapter-4_dialog": "*", | ||
"chapter-3_dialog": "*", | ||
"chapter-2_voltron": "*", | ||
"chapter-2_dialog": "*", | ||
"webcomponent-seed": "*" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
{ | ||
"name": "chapter-14_x-dialog-nojquery", | ||
"authors": [ | ||
"Jarrod Overson <[email protected]>" | ||
], | ||
"description": "a dialog box web component", | ||
"main": "./x-dialog.html", | ||
"moduleType": [ | ||
"globals" | ||
], | ||
"keywords": [ | ||
"dialog" | ||
], | ||
"license": "MIT", | ||
"homepage": "http://github.com/YOURUSER/x-dialog.html", | ||
"ignore": [ | ||
"**/.*", | ||
"node_modules", | ||
"bower_components", | ||
"vendor", | ||
"test", | ||
"tests" | ||
], | ||
"dependencies": { | ||
"polymer": "~0.3.3", | ||
"jquery": "~2.1.1", | ||
"jenga": "*" | ||
}, | ||
"_release": "62f2de0647", | ||
"_resolution": { | ||
"type": "branch", | ||
"branch": "master", | ||
"commit": "62f2de06474e881b3196c522e9367e50014edf62" | ||
}, | ||
"_source": "git://github.com/WebComponentsBook/chapter-14_x-dialog-nojquery.git", | ||
"_target": "*", | ||
"_originalSource": "chapter-14_x-dialog-nojquery" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
{ | ||
"name": "chapter-14_x-dialog-nojquery", | ||
"version": "0.0.0", | ||
"authors": [ | ||
"Jarrod Overson <[email protected]>" | ||
], | ||
"description": "a dialog box web component", | ||
"main": "./x-dialog.html", | ||
"moduleType": [ | ||
"globals" | ||
], | ||
"keywords": [ | ||
"dialog" | ||
], | ||
"license": "MIT", | ||
"homepage": "http://github.com/YOURUSER/x-dialog.html", | ||
"ignore": [ | ||
"**/.*", | ||
"node_modules", | ||
"bower_components", | ||
"vendor", | ||
"test", | ||
"tests" | ||
], | ||
"dependencies": { | ||
"polymer": "~0.3.3", | ||
"jquery": "~2.1.1", | ||
"jenga": "*" | ||
} | ||
} |
63 changes: 63 additions & 0 deletions
63
chapter-14_x-dialog-nojquery/components/jenga/Gruntfile.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
module.exports = function (grunt) { | ||
|
||
'use strict'; | ||
|
||
grunt.initConfig({ | ||
pkg: grunt.file.readJSON('package.json'), | ||
meta: { | ||
version: '<%= pkg.version %>', | ||
banner: '// Jenga: fuck z-indexes\n' + | ||
'// ----------------------------------\n' + | ||
'// v<%= pkg.version %>\n' + | ||
'//\n' + | ||
'// Copyright (c)<%= grunt.template.today("yyyy") %> Jason Strimpel\n' + | ||
'// Distributed under MIT license\n' | ||
}, | ||
preprocess: { | ||
global: { | ||
files: { | ||
'dist/jenga.js': 'src/jenga.global.js' | ||
} | ||
}, | ||
amd: { | ||
files: { | ||
'dist/jenga.amd.js': 'src/jenga.amd.js' | ||
} | ||
}, | ||
plugin: { | ||
files: { | ||
'dist/jenga.plugin.js': 'src/jenga.plugin.js' | ||
} | ||
} | ||
}, | ||
concat: { | ||
options: { | ||
banner: "<%= meta.banner %>" | ||
}, | ||
global: { | ||
src: 'dist/jenga.js', | ||
dest: 'dist/jenga.js' | ||
}, | ||
amd: { | ||
src: 'dist/jenga.amd.js', | ||
dest: 'dist/jenga.amd.js' | ||
}, | ||
plugin: { | ||
src: 'dist/jenga.plugin.js', | ||
dest: 'dist/jenga.plugin.js' | ||
} | ||
}, | ||
mocha_phantomjs: { | ||
all: ['test/**/*.html'] | ||
} | ||
}); | ||
|
||
grunt.loadNpmTasks('grunt-preprocess'); | ||
grunt.loadNpmTasks('grunt-contrib-concat'); | ||
grunt.loadNpmTasks('grunt-mocha-phantomjs'); | ||
|
||
grunt.registerTask('test', ['mocha_phantomjs']); | ||
grunt.registerTask('default', [ | ||
'preprocess:global', 'concat:global', 'preprocess:amd', 'concat:amd', 'preprocess:plugin', 'concat:plugin' | ||
]); | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{ | ||
"name": "jenga", | ||
"description": "z-index management", | ||
"authors": [{ "name": "Jason Strimpel", "email": "[email protected]" }], | ||
"version": "0.0.1", | ||
"main": "dist/jenga.js", | ||
"repository": { | ||
"type": "git", | ||
"url": "[email protected]:jstrimpel/jenga.git" | ||
}, | ||
"ignore": [ | ||
"**/.*", | ||
"node_modules", | ||
"bower_components", | ||
"test", | ||
"tests" | ||
] | ||
} |
16 changes: 16 additions & 0 deletions
16
chapter-14_x-dialog-nojquery/components/jenga/debugging/index.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<!doctype html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="utf-8"> | ||
<title>jenga example</title> | ||
</head> | ||
<body> | ||
<div style="z-index: 0; position: relative;"></div> | ||
<div style="z-index: 5; position: relative;"></div> | ||
<div style="z-index: 3; position: relative;" id="foo"></div> | ||
<script src="../dist/jenga.js"></script> | ||
<script type="text/javascript"> | ||
jenga.sendToBack(document.getElementById('foo')); | ||
</script> | ||
</body> | ||
</html> |
22 changes: 22 additions & 0 deletions
22
chapter-14_x-dialog-nojquery/components/jenga/debugging/noStackingContent.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
<!doctype html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="utf-8"> | ||
<title>jenga example</title> | ||
</head> | ||
<body> | ||
<div class="1"></div> | ||
<div class="1.1"></div> | ||
<div class="1.2"> | ||
<div class="2"> | ||
<div class="3"></div> | ||
<div class="3"></div> | ||
<div id="foo" class="3"></div> | ||
</div> | ||
</div> | ||
<script src="../dist/jenga.js"></script> | ||
<script type="text/javascript"> | ||
jenga.sendToBack(document.getElementById('foo')); | ||
</script> | ||
</body> | ||
</html> |
16 changes: 16 additions & 0 deletions
16
chapter-14_x-dialog-nojquery/components/jenga/demo/index.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<!doctype html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="utf-8"> | ||
<title>jenga example</title> | ||
</head> | ||
<body> | ||
<div style="z-index: 0; position: relative;"></div> | ||
<div style="z-index: 5; position: relative;"></div> | ||
<div style="z-index: 20; position: relative;" id="foo"></div> | ||
<script src="../dist/jenga.js"></script> | ||
<script type="text/javascript"> | ||
jenga.sendToBack(document.getElementById('foo')); | ||
</script> | ||
</body> | ||
</html> |
Oops, something went wrong.