mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-11-02 20:51:23 -07:00 
			
		
		
		
	
		
			
				
	
	
		
			46 lines
		
	
	
		
			No EOL
		
	
	
		
			893 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			46 lines
		
	
	
		
			No EOL
		
	
	
		
			893 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
import { $, addClass, removeClass, hasClass, toggleClass, attr, removeAttr, transform, transition, on, off, trigger, transitionEnd, outerWidth, outerHeight, styles, offset, css, each, html, text, is, index, eq, append, prepend, next, nextAll, prev, prevAll, parent, parents, closest, find, children, filter, remove } from 'dom7';
 | 
						|
const Methods = {
 | 
						|
  addClass,
 | 
						|
  removeClass,
 | 
						|
  hasClass,
 | 
						|
  toggleClass,
 | 
						|
  attr,
 | 
						|
  removeAttr,
 | 
						|
  transform,
 | 
						|
  transition,
 | 
						|
  on,
 | 
						|
  off,
 | 
						|
  trigger,
 | 
						|
  transitionEnd,
 | 
						|
  outerWidth,
 | 
						|
  outerHeight,
 | 
						|
  styles,
 | 
						|
  offset,
 | 
						|
  css,
 | 
						|
  each,
 | 
						|
  html,
 | 
						|
  text,
 | 
						|
  is,
 | 
						|
  index,
 | 
						|
  eq,
 | 
						|
  append,
 | 
						|
  prepend,
 | 
						|
  next,
 | 
						|
  nextAll,
 | 
						|
  prev,
 | 
						|
  prevAll,
 | 
						|
  parent,
 | 
						|
  parents,
 | 
						|
  closest,
 | 
						|
  find,
 | 
						|
  children,
 | 
						|
  filter,
 | 
						|
  remove
 | 
						|
};
 | 
						|
Object.keys(Methods).forEach(methodName => {
 | 
						|
  Object.defineProperty($.fn, methodName, {
 | 
						|
    value: Methods[methodName],
 | 
						|
    writable: true
 | 
						|
  });
 | 
						|
});
 | 
						|
export default $; |