Skip to content

Commit 7be11a7

Browse files
appleapple
authored andcommitted
modify tab to space
1 parent b1efb78 commit 7be11a7

File tree

1 file changed

+21
-21
lines changed

1 file changed

+21
-21
lines changed

snippets/snippets.rb

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1257,19 +1257,19 @@
12571257
12581258
class ${1:ControllerName} extends ${2:CI}_Controller {
12591259
1260-
function __construct()
1261-
{
1262-
parent::__construct();
1263-
//Construct Code...
1264-
}
1265-
1266-
public function ${4:functionName}()
1267-
{
1268-
//Function Code...
1269-
}
1260+
function __construct()
1261+
{
1262+
parent::__construct();
1263+
//Construct Code...
1264+
}
1265+
1266+
public function ${4:functionName}()
1267+
{
1268+
//Function Code...
1269+
}
12701270
}'
12711271
end
1272-
1272+
12731273
snippet "tpl_model" do |s|
12741274
s.trigger = 'tpl.model'
12751275
s.expansion = '<?php
@@ -1286,23 +1286,23 @@ class ${1:ControllerName} extends ${2:CI}_Controller {
12861286
*\/
12871287
class ${1:ModelName} extends CI_Model {
12881288
1289-
function __construct()
1290-
{
1291-
parent::__construct();
1292-
//Construct Code...
1293-
}
1289+
function __construct()
1290+
{
1291+
parent::__construct();
1292+
//Construct Code...
1293+
}
12941294
1295-
public function ${2:functionName}()
1296-
{
1297-
//Function Code...
1298-
}
1295+
public function ${2:functionName}()
1296+
{
1297+
//Function Code...
1298+
}
12991299
}'
13001300
end
13011301

13021302
snippet "tpl_function" do |s|
13031303
s.trigger = ':function'
13041304
s.expansion = '${1:public/private/protected} function ${2:funcName}(${3:$param}) {
1305-
//code on here
1305+
//code on here
13061306
}'
13071307
end
13081308
end

0 commit comments

Comments
 (0)