Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ftcolumnflow

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ftcolumnflow - npm Package Compare versions

Comparing version 0.2.1 to 0.2.2

2

package.json
{
"name": "ftcolumnflow",
"version": "0.2.1",
"version": "0.2.2",
"author": "FT Labs <enquiries@labs.ft.com> (http://labs.ft.com/)",

@@ -5,0 +5,0 @@ "description": "FTColumnflow is a polyfill that fixes the inadequacies of CSS column layouts.",

@@ -191,7 +191,11 @@ # FTColumnflow [![Build Status](https://travis-ci.org/ftlabs/ftcolumnflow.png?branch=master)](https://travis-ci.org/ftlabs/ftcolumnflow)

* `showGrid: true */,`
* `allowReflow: true,`
Allow a `reflow()` call to occur. The advantage of disabling this is that ColumnFlow will clean up all preload DOM nodes after the initial `flow`, which are otherwise reused on `reflow()`. *(Boolean, default true)*
* `showGrid: true,`
Show the baseline grid - very useful for debugging line-height issues. *(Boolean, default false)*
* `debug: true */,`
* `debug: true,`

@@ -198,0 +202,0 @@ Print internal calls to `_log()` to the console (Useful for development, not used in this release). *(Boolean, default false)*

@@ -1495,2 +1495,6 @@ /**

if (!config.allowReflow) {
throw new FTColumnflowException('ReflowException', 'reflow() was called but "allowReflow" config option was false.');
}
if (newConfig) {

@@ -1497,0 +1501,0 @@ _setConfig(newConfig);

@@ -113,3 +113,14 @@ /**

'ShouldPreventAReflowWhenConfigFlagIsFalse' : function() {
createCf({
allowReflow: false
}).flow('<div class="height3000">height3000</div>');
assert.exception(function test() {
cf.reflow();
}, 'FTColumnflowReflowException');
},
/*

@@ -116,0 +127,0 @@

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