Skip to content

Commit d25ef8f

Browse files
committed
Release v1.1.0
1 parent e0c57eb commit d25ef8f

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

57 files changed

+3609
-1853
lines changed

.babelrc

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"presets": [
3+
["env", {
4+
"targets": {
5+
"browsers": ["last 2 versions", "ie >= 9"]
6+
}
7+
}]
8+
]
9+
}

.editorconfig

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# editorconfig.org
21
root = true
32

43
[*]

.eslintrc

+7-174
Original file line numberDiff line numberDiff line change
@@ -1,181 +1,14 @@
11
{
2+
"extends": "airbnb-base",
23
"env": {
3-
"browser": true,
4-
"node": true
4+
"browser": true
55
},
6-
7-
"globals": {
8-
"jQuery": true
9-
},
10-
11-
"ecmaFeatures": {
12-
"arrowFunctions": true,
13-
"destructuring": true,
14-
"classes": true,
15-
"defaultParams": true,
16-
"blockBindings": true,
17-
"modules": true,
18-
"objectLiteralComputedProperties": true,
19-
"objectLiteralShorthandMethods": true,
20-
"objectLiteralShorthandProperties": true,
21-
"restParams": true,
22-
"spread": true,
23-
"templateStrings": true
24-
},
25-
6+
"plugins": [
7+
"html"
8+
],
269
"rules": {
27-
"accessor-pairs": 2,
28-
"array-bracket-spacing": 0,
29-
"block-scoped-var": 0,
30-
"brace-style": [2, "1tbs", { "allowSingleLine": true }],
31-
"camelcase": 0,
32-
"comma-dangle": [2, "never"],
33-
"comma-spacing": [2, { "before": false, "after": true }],
34-
"comma-style": [2, "last"],
35-
"complexity": 0,
36-
"computed-property-spacing": 0,
37-
"consistent-return": 0,
38-
"consistent-this": 0,
39-
"constructor-super": 2,
40-
"curly": [2, "multi-line"],
41-
"default-case": 0,
42-
"dot-location": [2, "property"],
43-
"dot-notation": 0,
44-
"eol-last": 2,
45-
"eqeqeq": [2, "allow-null"],
46-
"func-names": 0,
47-
"func-style": 0,
48-
"generator-star-spacing": [2, { "before": true, "after": true }],
49-
"guard-for-in": 0,
50-
"handle-callback-err": [2, "^(err|error)$" ],
51-
"indent": [2, 2, { "SwitchCase": 1 }],
52-
"key-spacing": [2, { "beforeColon": false, "afterColon": true }],
53-
"linebreak-style": 0,
54-
"lines-around-comment": 0,
55-
"max-nested-callbacks": 0,
56-
"new-cap": [2, { "newIsCap": true, "capIsNew": false }],
57-
"new-parens": 2,
58-
"newline-after-var": 0,
5910
"no-alert": 0,
60-
"no-array-constructor": 2,
61-
"no-caller": 2,
62-
"no-catch-shadow": 0,
63-
"no-cond-assign": 2,
64-
"no-console": 0,
65-
"no-constant-condition": 0,
66-
"no-continue": 0,
67-
"no-control-regex": 2,
68-
"no-debugger": 2,
69-
"no-delete-var": 2,
70-
"no-div-regex": 0,
71-
"no-dupe-args": 2,
72-
"no-dupe-keys": 2,
73-
"no-duplicate-case": 2,
74-
"no-else-return": 0,
75-
"no-empty": 0,
76-
"no-empty-character-class": 2,
77-
"no-empty-label": 2,
78-
"no-eq-null": 0,
79-
"no-eval": 2,
80-
"no-ex-assign": 2,
81-
"no-extend-native": 2,
82-
"no-extra-bind": 2,
83-
"no-extra-boolean-cast": 2,
84-
"no-extra-parens": 0,
85-
"no-extra-semi": 0,
86-
"no-fallthrough": 2,
87-
"no-floating-decimal": 2,
88-
"no-func-assign": 2,
89-
"no-implied-eval": 2,
90-
"no-inline-comments": 0,
91-
"no-inner-declarations": [2, "functions"],
92-
"no-invalid-regexp": 2,
93-
"no-irregular-whitespace": 2,
94-
"no-iterator": 2,
95-
"no-label-var": 2,
96-
"no-labels": 2,
97-
"no-lone-blocks": 2,
98-
"no-lonely-if": 0,
99-
"no-loop-func": 0,
100-
"no-mixed-requires": 0,
101-
"no-mixed-spaces-and-tabs": 2,
102-
"no-multi-spaces": 2,
103-
"no-multi-str": 2,
104-
"no-multiple-empty-lines": [2, { "max": 1 }],
105-
"no-native-reassign": 2,
106-
"no-negated-in-lhs": 2,
107-
"no-nested-ternary": 0,
108-
"no-new": 2,
109-
"no-new-func": 0,
110-
"no-new-object": 2,
111-
"no-new-require": 2,
112-
"no-new-wrappers": 2,
113-
"no-obj-calls": 2,
114-
"no-octal": 2,
115-
"no-octal-escape": 2,
116-
"no-param-reassign": 0,
117-
"no-path-concat": 0,
118-
"no-process-env": 0,
119-
"no-process-exit": 0,
120-
"no-proto": 0,
121-
"no-redeclare": 2,
122-
"no-regex-spaces": 2,
123-
"no-restricted-modules": 0,
124-
"no-return-assign": 2,
125-
"no-script-url": 0,
126-
"no-self-compare": 2,
127-
"no-sequences": 2,
128-
"no-shadow": 0,
129-
"no-shadow-restricted-names": 2,
130-
"no-spaced-func": 2,
131-
"no-sparse-arrays": 2,
132-
"no-sync": 0,
133-
"no-ternary": 0,
134-
"no-this-before-super": 2,
135-
"no-throw-literal": 2,
136-
"no-trailing-spaces": 2,
137-
"no-undef": 2,
138-
"no-undef-init": 2,
139-
"no-undefined": 0,
140-
"no-underscore-dangle": 0,
141-
"no-unexpected-multiline": 2,
142-
"no-unneeded-ternary": 2,
143-
"no-unreachable": 2,
144-
"no-unused-expressions": 0,
145-
"no-unused-vars": [2, { "vars": "all", "args": "none" }],
146-
"no-use-before-define": 0,
147-
"no-var": 0,
148-
"no-void": 0,
149-
"no-warning-comments": 0,
150-
"no-with": 2,
151-
"object-curly-spacing": 0,
152-
"object-shorthand": 0,
153-
"one-var": [2, { "initialized": "never" }],
154-
"operator-assignment": 0,
155-
"operator-linebreak": [2, "after", { "overrides": { "?": "before", ":": "before" } }],
156-
"padded-blocks": 0,
157-
"prefer-const": 0,
158-
"quote-props": 0,
159-
"quotes": [2, "single", "avoid-escape"],
160-
"radix": 2,
161-
"semi": [2, "always"],
162-
"semi-spacing": 0,
163-
"sort-vars": 0,
164-
"space-after-keywords": [2, "always"],
165-
"space-before-blocks": [2, "always"],
166-
"space-before-function-paren": [2, "always"],
167-
"space-in-parens": [2, "never"],
168-
"space-infix-ops": 2,
169-
"space-return-throw-case": 2,
170-
"space-unary-ops": [2, { "words": true, "nonwords": false }],
171-
"spaced-comment": [2, "always", { "markers": ["global", "globals", "eslint", "eslint-disable", "*package", "!"] }],
172-
"strict": 0,
173-
"use-isnan": 2,
174-
"valid-jsdoc": 0,
175-
"valid-typeof": 2,
176-
"vars-on-top": 0,
177-
"wrap-iife": [2, "any"],
178-
"wrap-regex": 0,
179-
"yoda": [2, "never"]
11+
"no-new": 0,
12+
"no-param-reassign": 0
18013
}
18114
}

.gitattributes

+1
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,5 @@
1414
*.md text eol=lf
1515
*.sh text eol=lf
1616
*.txt text eol=lf
17+
*.vue text eol=lf
1718
*.xml text eol=lf

.gitignore

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# Project
22
node_modules
3-
/_*
3+
npm-debug.log
4+
*.map
45

56
# Windows image file caches
67
Thumbs.db

CHANGELOG.md

+5
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
# Changelog
22

33

4+
## 1.1.0 (May 14, 2017)
5+
6+
- Upgrade to Cropper.js v1.0+ and Vue.js v2.0+.
7+
8+
49
## 1.0.1 (Jan 2, 2016)
510

611
- Supports to complete the cropping when dblclick on the crop box.

LICENSE

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License (MIT)
22

3-
Copyright (c) 2016 Fengyuan Chen
3+
Copyright (c) 2016-2017 Fengyuan Chen
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

README.md

+6-5
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
> A photo editing application based on the [Cropper.js](https://github.com/fengyuanchen/cropperjs).
44
5-
- [Homepage](http://fengyuanchen.github.io/photo-editor)
5+
- [Website](http://fengyuanchen.github.io/photo-editor)
66

77

88

@@ -28,11 +28,12 @@
2828

2929
## Browser support
3030

31-
- Chrome (latest 2)
32-
- Firefox (latest 2)
31+
- Chrome (latest)
32+
- Firefox (latest)
33+
- Safari (latest)
34+
- Opera (latest)
35+
- Edge (latest)
3336
- Internet Explorer 9+
34-
- Opera (latest 2)
35-
- Safari (latest 2)
3637

3738

3839

css/cropper.min.css

-9
This file was deleted.

css/font-awesome.min.css

-4
This file was deleted.

css/main.css

-1
This file was deleted.

dist/app.js

+20
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/fontawesome-webfont.eot

162 KB
Binary file not shown.

0 commit comments

Comments
 (0)