Conversation
bdukes
requested changes
Mar 3, 2021
Member
bdukes
left a comment
There was a problem hiding this comment.
Thanks! A couple of things to clean up, but nothing major. Let me know if you need any further direction.
croppic-js/LICENSE.htm
Outdated
| @@ -0,0 +1,3 @@ | |||
| <p> | |||
| croppic is licensed under the <a href="http://croppic.net">GPLv3 license</a> for all open source applications. A commercial license is required for all commercial applications (including sites, themes and apps you plan to sell). | |||
Member
There was a problem hiding this comment.
I don't see anywhere referencing GPLv3 as a license, https://github.com/fussraider/croppic.js/blob/master/LICENSE (I believe this is the repo for the croppic-js npm library) and https://github.com/sconsult/croppic/blob/master/README.md#mit-license (the original source) both say MIT
croppic-js/croppic.dnn
Outdated
| <license src="LICENSE.htm" /> | ||
| <releaseNotes src="CHANGES.htm" /> | ||
| <azureCompatible>true</azureCompatible> | ||
| <dependencies></dependencies> |
Member
There was a problem hiding this comment.
Let's add a jQuery dependency:
Suggested change
| <dependencies></dependencies> | |
| <dependencies> | |
| <dependency type="managedPackage" version="3.4.1">jQuery</dependency> | |
| </dependencies> |
Contributor
Author
|
Awesome thanks.
For the BodyBottom. I originally had it there but got errors?
Henry
…On Wed, Mar 3, 2021 at 12:49 PM Brian Dukes ***@***.***> wrote:
***@***.**** requested changes on this pull request.
Thanks! A couple of things to clean up, but nothing major. Let me know if
you need any further direction.
------------------------------
In croppic-js/LICENSE.htm
<#250 (comment)>
:
> @@ -0,0 +1,3 @@
+<p>
+ croppic is licensed under the <a href="http://croppic.net">GPLv3 license</a> for all open source applications. A commercial license is required for all commercial applications (including sites, themes and apps you plan to sell).
I don't see anywhere referencing GPLv3 as a license,
https://github.com/fussraider/croppic.js/blob/master/LICENSE (I believe
this is the repo for the croppic-js npm library) and
https://github.com/sconsult/croppic/blob/master/README.md#mit-license
(the original source) both say MIT
------------------------------
In croppic-js/croppic.dnn
<#250 (comment)>
:
> + <packages>
+ <package name="croppic-js" type="JavaScript_Library" version="<~=version~>">
+ <friendlyName>croppic-js</friendlyName>
+ <description>
+ <![CDATA[Croppic is an image cropping jquery plugin that will satisfy your needs and much more.]]>
+ </description>
+ <owner>
+ <name>Engage Software</name>
+ <organization>Engage Software</organization>
+ <url>https://engagesoftware.com/</url>
+ ***@***.***</email>
+ </owner>
+ <license src="LICENSE.htm" />
+ <releaseNotes src="CHANGES.htm" />
+ <azureCompatible>true</azureCompatible>
+ <dependencies></dependencies>
Let's add a jQuery dependency:
⬇️ Suggested change
- <dependencies></dependencies>
+ <dependencies>
+ <dependency type="managedPackage" version="3.4.1">jQuery</dependency>
+ </dependencies>
------------------------------
In croppic-js/croppic.dnn
<#250 (comment)>
:
> + <owner>
+ <name>Engage Software</name>
+ <organization>Engage Software</organization>
+ <url>https://engagesoftware.com/</url>
+ ***@***.***</email>
+ </owner>
+ <license src="LICENSE.htm" />
+ <releaseNotes src="CHANGES.htm" />
+ <azureCompatible>true</azureCompatible>
+ <dependencies></dependencies>
+ <components>
+ <component type="JavaScript_Library">
+ <javaScriptLibrary>
+ <libraryName>croppic-js</libraryName>
+ <fileName>croppic.min.js</fileName>
+ <preferredScriptLocation>PageHead</preferredScriptLocation>
Unless there's a specific need to have it in the head, libraries should
prefer BodyBottom
⬇️ Suggested change
- <preferredScriptLocation>PageHead</preferredScriptLocation>
+ <preferredScriptLocation>BodyBottom</preferredScriptLocation>
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#250 (review)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AASW63XNNHLHPAX42Z4JNQDTB2AE7ANCNFSM4YRYEFGQ>
.
--
*Henry Kenuam*
hkenuam@engagesoftware.com
*314.884.2444*
*Team Engage:* Your ideas. Our know-how.
|
Contributor
Author
|
Trying to use it. Said it didn't exist. I switched to PageHead and worked.
…On Wed, Mar 3, 2021 at 1:26 PM Brian Dukes ***@***.***> wrote:
***@***.**** commented on this pull request.
------------------------------
In croppic-js/croppic.dnn
<#250 (comment)>
:
> + <owner>
+ <name>Engage Software</name>
+ <organization>Engage Software</organization>
+ <url>https://engagesoftware.com/</url>
+ ***@***.***</email>
+ </owner>
+ <license src="LICENSE.htm" />
+ <releaseNotes src="CHANGES.htm" />
+ <azureCompatible>true</azureCompatible>
+ <dependencies></dependencies>
+ <components>
+ <component type="JavaScript_Library">
+ <javaScriptLibrary>
+ <libraryName>croppic-js</libraryName>
+ <fileName>croppic.min.js</fileName>
+ <preferredScriptLocation>PageHead</preferredScriptLocation>
@hkenuam <https://github.com/hkenuam> You got errors packaging, or you
got errors trying to use it? You may need to adjust the timing of your
scripts when you switch to using a JS library (e.g. wrap using code in jQuery(($)
=> { /* your original code goes here */ }))
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#250 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AASW63RUS56NGVJTYGAEL6LTB2ENFANCNFSM4YRYEFGQ>
.
--
*Henry Kenuam*
hkenuam@engagesoftware.com
*314.884.2444*
*Team Engage:* Your ideas. Our know-how.
|
Member
|
Yeah, it doesn't exist yet, you'll need to adjust the timing of your script trying to use it. |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add croppic library