Remove semicolons.

This commit is contained in:
John-David Dalton
2017-02-04 23:50:10 -08:00
parent f3a8e55e70
commit 6cb3460fce
452 changed files with 4261 additions and 4261 deletions

View File

@@ -1,4 +1,4 @@
import baseCreate from './.internal/baseCreate.js';
import baseCreate from './.internal/baseCreate.js'
/**
* Creates an object that inherits from the `prototype` object. If a
@@ -13,28 +13,28 @@ import baseCreate from './.internal/baseCreate.js';
* @example
*
* function Shape() {
* this.x = 0;
* this.y = 0;
* this.x = 0
* this.y = 0
* }
*
* function Circle() {
* Shape.call(this);
* Shape.call(this)
* }
*
* Circle.prototype = create(Shape.prototype, {
* 'constructor': Circle
* });
* })
*
* const circle = new Circle;
* circle instanceof Circle;
* const circle = new Circle
* circle instanceof Circle
* // => true
*
* circle instanceof Shape;
* circle instanceof Shape
* // => true
*/
function create(prototype, properties) {
const result = baseCreate(prototype);
return properties == null ? result : Object.assign(result, properties);
const result = baseCreate(prototype)
return properties == null ? result : Object.assign(result, properties)
}
export default create;
export default create