New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

jquery.dirtyforms.helpers.tinymce

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jquery.dirtyforms.helpers.tinymce - npm Package Compare versions

Comparing version 1.1.0 to 1.2.0

2

jquery.dirtyforms.helpers.tinymce.min.js

@@ -1,2 +0,2 @@

!function(t){"function"==typeof define&&define.amd?define(["jquery"],t):"object"==typeof exports?module.exports=t(require("jquery")):t(jQuery)}(function(t){var i={ignoreAnchorSelector:".mceEditor a,.mceMenu a",isDirty:function(i){var n=!1;return e(i)&&t(i).find(":tinymce").each(function(){return t.DirtyForms.dirtylog("Checking node "+t(this).attr("id")),t(this).tinymce().isDirty()?(n=!0,t.DirtyForms.dirtylog("Node was totally dirty."),!0):void 0}),n},setClean:function(i){e(i)&&t(i).find(":tinymce").each(function(){t(this).tinymce().isDirty()&&(t.DirtyForms.dirtylog("Resetting isDirty on node "+t(this).attr("id")),t(this).tinymce().isNotDirty=1)})}},e=function(i){try{return t(i).find(":tinymce").length>0}catch(e){return!1}};t.DirtyForms.helpers.push(i)});
!function(e){"function"==typeof define&&define.amd?define(["jquery"],e):"object"==typeof exports?module.exports=e(require("jquery")):e(jQuery)}(function(e){var t={ignoreAnchorSelector:".mceEditor a,.mceMenu a",isDirty:function(t){var i=!1;return n(t)&&e(t).find(":tinymce").each(function(){return e(this).tinymce().isDirty()?(i=!0,!0):void 0}),i},setClean:function(t){n(t)&&e(t).find(":tinymce").each(function(){e(this).tinymce().isDirty()&&(e(this).tinymce().isNotDirty=1)})}},n=function(t){try{return e(t).find(":tinymce").length>0}catch(n){return!1}};e.DirtyForms.helpers.push(t)});
//# sourceMappingURL=jquery.dirtyforms.helpers.tinymce.min.js.map
{
"name": "jquery.dirtyforms.helpers.tinymce",
"version": "1.1.0",
"version": "1.2.0",
"description": "A helper to enable TinyMCE support when using JQuery Dirty Forms.",

@@ -5,0 +5,0 @@ "main": "jquery.dirtyforms.helpers.tinymce.min.js",

@@ -34,3 +34,3 @@ [![jquery-dirtyforms MyGet Build Status](https://www.myget.org/BuildSource/Badge/jquery-dirtyforms?identifier=193d9dab-a526-484e-8062-9a960322f246)](https://www.myget.org/)

```HTML
<script type="text/javascript" src="//cdn.jsdelivr.net/jquery.dirtyforms/1.1.0/jquery.dirtyforms.helpers.tinymce.min.js"></script>
<script type="text/javascript" src="//cdn.jsdelivr.net/jquery.dirtyforms/1.2.0/jquery.dirtyforms.helpers.tinymce.min.js"></script>
```

@@ -40,7 +40,7 @@

```HTML
<script type="text/javascript" src="//cdn.jsdelivr.net/g/jquery@1.11.3,tinymce(tinymce.min.js+jquery.tinymce.min.js),jquery.facebox,jquery.dirtyforms(jquery.dirtyforms.min.js+jquery.dirtyforms.helpers.tinymce.min.js)"></script>
<script type="text/javascript" src="//cdn.jsdelivr.net/g/jquery@1.11.3,tinymce(tinymce.min.js+jquery.tinymce.min.js),jquery.facebox,jquery.dirtyforms@1.2.0(jquery.dirtyforms.min.js+jquery.dirtyforms.helpers.tinymce.min.js)"></script>
```
#### Self-Hosted
Download and save one of two available files to include the CKEditor helper to your page, either the [latest distribution](https://raw.githubusercontent.com/NightOwl888/jquery.dirtyforms.helpers.tinymce.dist/master/jquery.dirtyforms.helpers.tinymce.js) or the [latest minified](https://raw.githubusercontent.com/NightOwl888/jquery.dirtyforms.helpers.tinymce.dist/master/jquery.dirtyforms.helpers.tinymce.min.js) version.
Download and save one of two available files to include the TinyMCE helper to your page, either the [latest distribution](https://raw.githubusercontent.com/NightOwl888/jquery.dirtyforms.helpers.tinymce.dist/master/jquery.dirtyforms.helpers.tinymce.js) or the [latest minified](https://raw.githubusercontent.com/NightOwl888/jquery.dirtyforms.helpers.tinymce.dist/master/jquery.dirtyforms.helpers.tinymce.min.js) version.
```HTML

@@ -75,6 +75,6 @@ <script type="text/javascript" src="jquery.dirtyforms.helpers.tinymce.min.js"></script>

####CDN
#### CDN
```HTML
<script type="text/javascript" src="//cdn.jsdelivr.net/jquery.dirtyforms/1.1.0/jquery.dirtyforms.helpers.tinymce.min.js.map"></script>
<script type="text/javascript" src="//cdn.jsdelivr.net/jquery.dirtyforms/1.2.0/jquery.dirtyforms.helpers.tinymce.min.js.map"></script>
```

@@ -84,3 +84,3 @@

NPM or Bower will install the file into the destination directory.
NPM, Bower, and NuGet will install the SourceMap file into the destination directory.

@@ -91,6 +91,4 @@ ```

For NuGet, this file is not included in the package, but you can get it from [here](https://github.com/NightOwl888/jquery.dirtyforms.helpers.tinymce.dist/blob/master/jquery.dirtyforms.helpers.tinymce.min.js.map) if you really need it.
## Usage
##Usage
This helper is completely automatic - there are no properties or methods to interact with. Simply include the reference to the helper after the [prerequisites](#prerequisites) and use Dirty Forms [as per the documentation](https://github.com/snikch/jquery.dirtyforms#usage) and TinyMCE [as per the documentation](http://www.tinymce.com/wiki.php/Installation).

@@ -102,6 +100,6 @@

<script src="//cdn.jsdelivr.net/tinymce/latest/jquery.tinymce.min.js" type="text/javascript"></script>
<script src="//cdn.jsdelivr.net/jquery.dirtyforms/1.1.0/jquery.dirtyforms.min.js" type="text/javascript"></script>
<script src="//cdn.jsdelivr.net/jquery.dirtyforms/1.1.0/jquery.dirtyforms.helpers.tinymce.min.js" type="text/javascript"></script>
<script src="//cdn.jsdelivr.net/jquery.dirtyforms/1.2.0/jquery.dirtyforms.min.js" type="text/javascript"></script>
<script src="//cdn.jsdelivr.net/jquery.dirtyforms/1.2.0/jquery.dirtyforms.helpers.tinymce.min.js" type="text/javascript"></script>
```
> If not using a CDN, you need to apply the dependencies in the same order as the example above.
> If not using a CDN, you need to apply the dependencies in the same order as in the example above.

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc