Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F95169924
hyphenateStyle.js
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Fri, Dec 13, 10:21
Size
362 B
Mime Type
text/x-java
Expires
Sun, Dec 15, 10:21 (2 d)
Engine
blob
Format
Raw Data
Handle
22920651
Attached To
rOACCT Open Access Compliance Check Tool (OACCT)
hyphenateStyle.js
View Options
/**
* Copyright 2013-2014, Facebook, Inc.
* All rights reserved.
* https://github.com/facebook/react/blob/2aeb8a2a6beb00617a4217f7f8284924fa2ad819/src/vendor/core/hyphenateStyleName.js
*/
import hyphenate from './hyphenate';
var msPattern = /^ms-/;
export default function hyphenateStyleName(string) {
return hyphenate(string).replace(msPattern, '-ms-');
}
Event Timeline
Log In to Comment