-
Notifications
You must be signed in to change notification settings - Fork 10
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
Kerrick Long
committed
Jul 15, 2014
1 parent
c67f271
commit 1b25e5c
Showing
8 changed files
with
408 additions
and
1 deletion.
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
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,24 @@ | ||
module.exports = function(grunt) { | ||
grunt.initConfig({ | ||
uglify: { | ||
options: { | ||
report: 'gzip', | ||
sourceMap: true, | ||
preserveComments: 'some', | ||
wrap: 'Talker' | ||
}, | ||
dist: { | ||
files: { | ||
'dist/talker.min.js': [ | ||
'src/talker.js' | ||
] | ||
} | ||
} | ||
} | ||
}); | ||
|
||
grunt.loadNpmTasks('grunt-contrib-uglify'); | ||
|
||
grunt.registerTask('default', ['uglify']); | ||
}; | ||
|
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 |
---|---|---|
@@ -1,4 +1,13 @@ | ||
talker.js | ||
========= | ||
|
||
A tiny, promise-based library for cross-origin communication between frames and windows. | ||
A tiny (under 4kB), promise-based library for cross-origin communication between frames and windows. | ||
|
||
Building | ||
-------- | ||
|
||
``` | ||
npm install -g grunt-cli | ||
npm install | ||
grunt | ||
``` |
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,26 @@ | ||
{ | ||
"name": "talker.js", | ||
"version": "1.0.0", | ||
"homepage": "https://github.com/secondstreet/talker.js", | ||
"author": "Second Street <[email protected]>", | ||
"description": "A tiny, promise-based library for cross-origin communication between frames and windows.", | ||
"main": "dist/talker.js", | ||
"moduleType": [ | ||
"globals" | ||
], | ||
"keywords": [ | ||
"iframe", | ||
"postMessage", | ||
"cross-domain", | ||
"cross-origin", | ||
"promise" | ||
], | ||
"license": "MIT", | ||
"ignore": [ | ||
"**/.*", | ||
"node_modules", | ||
"bower_components", | ||
"test", | ||
"tests" | ||
] | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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": "talker.js", | ||
"version": "1.0.0", | ||
"description": "A tiny, promise-based library for cross-origin communication between frames and windows.", | ||
"main": "src/talker.js", | ||
"devDependencies": { | ||
"grunt": "^0.4.5", | ||
"grunt-contrib-uglify": "^0.5.0" | ||
}, | ||
"scripts": { | ||
"test": "echo \"Error: no test specified\" && exit 1" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "git://github.com/secondstreet/talker.js.git" | ||
}, | ||
"keywords": [ | ||
"iframe", | ||
"postMessage", | ||
"cross-domain", | ||
"cross-origin", | ||
"promise" | ||
], | ||
"author": "Second Street <[email protected]>", | ||
"license": "MIT", | ||
"bugs": { | ||
"url": "https://github.com/secondstreet/talker.js/issues" | ||
}, | ||
"homepage": "https://github.com/secondstreet/talker.js" | ||
} |
Oops, something went wrong.