Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yii2
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
PSDI Army
yii2
Commits
c9b65d30
Commit
c9b65d30
authored
May 19, 2013
by
Qiang Xue
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Renamed core asset bundles.
parent
f83eaecd
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
13 additions
and
13 deletions
+13
-13
assets.php
apps/bootstrap/config/assets.php
+1
-1
assets.php
yii/assets.php
+10
-10
EmailValidator.php
yii/validators/EmailValidator.php
+1
-1
UrlValidator.php
yii/validators/UrlValidator.php
+1
-1
No files found.
apps/bootstrap/config/assets.php
View file @
c9b65d30
...
...
@@ -12,7 +12,7 @@ return array(
),
'depends'
=>
array
(
'yii'
,
'
twitter
/bootstrap-responsive'
,
'
yii
/bootstrap-responsive'
,
),
),
);
yii/assets.php
View file @
c9b65d30
<?php
return
array
(
'
jquery
'
=>
array
(
'
yii
'
=>
array
(
'sourcePath'
=>
__DIR__
.
'/assets'
,
'js'
=>
array
(
'
jquery.min
.js'
,
'
yii
.js'
,
),
'depends'
=>
array
(
'yii/jquery'
),
),
'yii'
=>
array
(
'yii
/jquery
'
=>
array
(
'sourcePath'
=>
__DIR__
.
'/assets'
,
'js'
=>
array
(
'
yii
.js'
,
'
jquery.min
.js'
,
),
'depends'
=>
array
(
'jquery'
),
),
'yii/validation'
=>
array
(
'sourcePath'
=>
__DIR__
.
'/assets'
,
...
...
@@ -42,7 +42,7 @@ return array(
),
'depends'
=>
array
(
'yii'
),
),
'
twitter
/bootstrap'
=>
array
(
'
yii
/bootstrap'
=>
array
(
'sourcePath'
=>
__DIR__
.
'/assets'
,
'css'
=>
array
(
'bootstrap/css/bootstrap.css'
,
...
...
@@ -50,16 +50,16 @@ return array(
'js'
=>
array
(
'bootstrap/js/bootstrap.js'
,
),
'depends'
=>
array
(
'jquery'
),
'depends'
=>
array
(
'
yii/
jquery'
),
),
'
twitter
/bootstrap-responsive'
=>
array
(
'
yii
/bootstrap-responsive'
=>
array
(
'sourcePath'
=>
__DIR__
.
'/assets'
,
'css'
=>
array
(
'bootstrap/css/bootstrap-responsive.css'
,
),
'depends'
=>
array
(
'
twitter
/bootstrap'
),
'depends'
=>
array
(
'
yii
/bootstrap'
),
),
'punycode'
=>
array
(
'
yii/
punycode'
=>
array
(
'sourcePath'
=>
__DIR__
.
'/vendor/bestiejs/punycode.js'
,
'js'
=>
array
(
'punycode.min.js'
,
...
...
yii/validators/EmailValidator.php
View file @
c9b65d30
...
...
@@ -135,7 +135,7 @@ class EmailValidator extends Validator
$view
->
registerAssetBundle
(
'yii/validation'
);
if
(
$this
->
enableIDN
)
{
$view
->
registerAssetBundle
(
'punycode'
);
$view
->
registerAssetBundle
(
'
yii/
punycode'
);
}
return
'yii.validation.email(value, messages, '
.
Json
::
encode
(
$options
)
.
');'
;
}
...
...
yii/validators/UrlValidator.php
View file @
c9b65d30
...
...
@@ -140,7 +140,7 @@ class UrlValidator extends Validator
$view
->
registerAssetBundle
(
'yii/validation'
);
if
(
$this
->
enableIDN
)
{
$view
->
registerAssetBundle
(
'punycode'
);
$view
->
registerAssetBundle
(
'
yii/
punycode'
);
}
return
'yii.validation.url(value, messages, '
.
Json
::
encode
(
$options
)
.
');'
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment