Skip to content

litson/Sole

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sole

Overrid console.

Features

Appropriate use of solejs in your development version.

And production version remove it, that's simple & no sad effects.

Usage

<body>
<!-- Snap the body tag. -->
<srcript src='build/sole.js'></script>

<script>

// type your scripts here...

var objectLiteral = {
  foo: {
    name  : 'toby',
    skill : 'html'
  }
}

function bar() {
  return objectLiteral.foo;
}

console.log( 1 );             // output 1.

console.log( objectLiteral ); // output an nested object literal.

console.log( bar );           // ouput function string.

console.log( bar() );         // output executed results.

</script>

</body>

About

Overrid console.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages