Skip to content

Commit

Permalink
Updating the URL to point to the new organization
Browse files Browse the repository at this point in the history
  • Loading branch information
ljharb committed Dec 30, 2013
1 parent aaa8411 commit ce8f517
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 14 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ So in order to run the tests against the built-in methods, invalidate that file
### May fail

* :warning: Object.getOwnPropertyDescriptor

The behavior of this shim does not conform to ES5. It should
probably not be used at this time, until its behavior has been
reviewed and been confirmed to be useful in legacy engines.
Expand All @@ -120,12 +120,12 @@ So in order to run the tests against the built-in methods, invalidate that file

In slightly better circumstances, this method will silently fail to
set "writable", "enumerable", and "configurable" properties.

Providing a getter or setter with "get" or "set" on a descriptor
will silently fail on engines that lack "__defineGetter__" and
"__defineSetter__", which include all versions of IE.

https://github.com/kriskowal/es5-shim/issues#issue/5
https://github.com/es-shims/es5-shim/issues#issue/5

* :warning: Object.defineProperties

Expand Down
4 changes: 2 additions & 2 deletions es5-sham.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ if ((supportsAccessors = owns(prototypeOfObject, "__defineGetter__"))) {
// ES5 15.2.3.2
// http://es5.github.com/#x15.2.3.2
if (!Object.getPrototypeOf) {
// https://github.com/kriskowal/es5-shim/issues#issue/2
// https://github.com/es-shims/es5-shim/issues#issue/2
// http://ejohn.org/blog/objectgetprototypeof/
// recommended by fschaefer on github
Object.getPrototypeOf = function getPrototypeOf(object) {
Expand Down Expand Up @@ -235,7 +235,7 @@ if (!Object.create) {

// Patch for WebKit and IE8 standard mode
// Designed by hax <hax.github.com>
// related issue: https://github.com/kriskowal/es5-shim/issues#issue/5
// related issue: https://github.com/es-shims/es5-shim/issues#issue/5
// IE8 Reference:
// http://msdn.microsoft.com/en-us/library/dd282900.aspx
// http://msdn.microsoft.com/en-us/library/dd229916.aspx
Expand Down
2 changes: 1 addition & 1 deletion es5-shim.js
Original file line number Diff line number Diff line change
Expand Up @@ -735,7 +735,7 @@ if (
year = this.getUTCFullYear();

month = this.getUTCMonth();
// see https://github.com/kriskowal/es5-shim/issues/111
// see https://github.com/es-shims/es5-shim/issues/111
year += Math.floor(month / 12);
month = (month % 12 + 12) % 12;

Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "es5-shim",
"version": "2.2.0",
"description": "ES5 as implementable on previous engines",
"homepage": "http://github.com/kriskowal/es5-shim/",
"homepage": "http://github.com/es-shims/es5-shim/",
"contributors": [
"Kris Kowal <[email protected]> (http://github.com/kriskowal/)",
"Sami Samhuri <[email protected]> (http://samhuri.net/)",
Expand All @@ -12,18 +12,18 @@
],
"bugs": {
"mail": "[email protected]",
"url": "http://github.com/kriskowal/es5-shim/issues"
"url": "http://github.com/es-shims/es5-shim/issues"
},
"licenses": [
{
"type": "MIT",
"url": "http://github.com/kriskowal/es5-shim/raw/master/LICENSE"
"url": "http://github.com/es-shims/es5-shim/raw/master/LICENSE"
}
],
"main": "es5-shim.js",
"repository": {
"type": "git",
"url": "http://github.com/kriskowal/es5-shim.git"
"url": "http://github.com/es-shims/es5-shim.git"
},
"scripts": {
"minify": "uglifyjs es5-shim.js --source-map=es5-shim.map -b ascii_only=true,beautify=false > es5-shim.min.js; uglifyjs es5-sham.js --source-map=es5-sham.map -b ascii_only=true,beautify=false > es5-sham.min.js",
Expand Down
8 changes: 4 additions & 4 deletions tests/spec/s-date.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
describe('Date', function () {

describe('now', function () {
it('should be the current time', function () {
expect(Date.now() === new Date().getTime()).toBe(true);
Expand Down Expand Up @@ -50,7 +50,7 @@ describe('Date', function () {
expect(Date.parse("+275760-09-13T00:00:00.001Z")).toBeFalsy(); //NaN NaN NaN 8.64e15 + 1 8.64e15 + 1
expect(Date.parse("-271821-04-19T23:59:59.999Z")).toBeFalsy(); //NaN NaN NaN -8.64e15 - 1 -8.6400000864e15 - 1

// https://github.com/kriskowal/es5-shim/issues/80 Safari bug with leap day
// https://github.com/es-shims/es5-shim/issues/80 Safari bug with leap day
expect(Date.parse("2034-03-01T00:00:00.000Z") -
Date.parse("2034-02-27T23:59:59.999Z")).toBe(86400001); //86400001 86400001 86400001 86400001 1

Expand Down Expand Up @@ -118,7 +118,7 @@ describe('Date', function () {

describe("toISOString", function () {
// TODO: write the rest of the test.

it('should support extended years', function () {
expect(new Date(-62198755200000).toISOString().indexOf('-000001-01-01')).toBe(0);
expect(new Date(8.64e15).toISOString().indexOf('+275760-09-13')).toBe(0);
Expand Down Expand Up @@ -157,4 +157,4 @@ describe('Date', function () {
})
});

});
});

0 comments on commit ce8f517

Please sign in to comment.