Kayıtlar

2020 tarihine ait yayınlar gösteriliyor

SASS - Important Notes

Sass files beginning with an underscore are called partials and won't be compiled to CSS, but they can be imported into other sass stylesheets.

Grunt.js

npm init creates package.json npm install grunt --save-dev -> is added dependencies to package.json file. { "name" : "sample-test" , "version" : "1.0.0" , "description" : "generated for grunt json" , "main" : "Gruntfile.js" , "dependencies" : {}, "scripts" : { "test" : "echo \" Error: no test specified \" && exit 1" }, "author" : "" , "license" : "ISC" , "devDependencies" : { "grunt" : "^1.0.4" } } npm install grunt-autoprefixer --save-dev { "name" : "sample-test" , "version" : "1.0.0" , "description" : "generated for grunt json" , "main" : "Gruntfile.js" , "dependencies" : {}, "scripts" : { "test" : "ech...

Array Manipulations

Defined arrays have the following methods available: .toString ( ) .toLocaleString ( ) .concat ( [ item1 [ , item2 [ , … ] ] ] ) When the concat method is called with zero or more arguments item1, item2, etc., it returns an array containing the array elements of the object followed by the array elements of each argument in order. .join (separator) The elements of the array are converted to Strings, and these Strings are then concatenated, separated by occurrences of the separator. If no separator is provided, a single comma is used as the separator. .pop ( ) The last element of the array is removed from the array and returned. .push ( [ item1 [ , item2 [ , … ] ] ] ) The arguments are appended to the end of the array, in the order in which they appear. The new length of the array is returned as the result of the call." .reverse ( ) The elements of the array are rearranged so as to reverse their order. The object is returned as the result of the call. .shift ( ) The first element o...