Skip to content

jdists/uglify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

@jdists/uglify

uglify as jdists processor

NPM version Build Status Coverage Status

Example

/*<jdists encoding="uglify">*/
function calc(number) {
  var result = 0
  for (var i = 0; i < number; i++) {
    result += i
  }
  return '数:' + result
}
/*</jdists>*/

/*<uglify>*/
function calc(number) {
  var result = 0
  for (var i = 0; i < number; i++) {
    result += i
  }
  return '数:' + result
}
/*</uglify>*/

License

MIT © zswang