Sandbox — различия между версиями

Материал из Клуб любителей рогаликов
Перейти к: навигация, поиск
м
м
 
Строка 1: Строка 1:
<syntaxhighlight>
+
<source lang="javascript">
 
// SyntaxHighlighter makes your code snippets beautiful without tiring your servers.
 
// SyntaxHighlighter makes your code snippets beautiful without tiring your servers.
 
// http://alexgorbatchev.com
 
// http://alexgorbatchev.com
Строка 7: Строка 7:
 
     return this;
 
     return this;
 
}
 
}
</syntaxhighlight>
+
</source>

Текущая версия на 17:27, 29 ноября 2013

<source lang="javascript"> // SyntaxHighlighter makes your code snippets beautiful without tiring your servers. // http://alexgorbatchev.com var setArray = function(elems) {

   this.length = 0;
   push.apply(this, elems);
   return this;

} </source>