UNPKG
bower
Version:
beta (1.8.14)
latest (1.8.14)
1.8.14
1.8.13
1.8.12
1.8.11
1.8.10
1.8.9
1.8.8
1.8.7
1.8.6
1.8.4
1.8.3
1.8.2
1.8.0
1.7.10
1.7.9
1.7.8
1.7.7
1.7.6
1.7.5
1.7.2
1.7.1
1.7.0
1.6.9
1.6.8
1.6.7
1.6.6
1.6.5
1.6.4
1.6.3
1.6.2
1.5.4
1.5.3
1.5.2
1.5.1
1.5.0
1.4.2
1.4.1
1.4.0
1.3.12
1.3.11
1.3.10
1.3.9
1.3.8
1.3.7
1.3.6
1.3.5
1.3.4
1.3.3
1.3.2
1.3.1
1.3.0
1.2.8
1.2.7
1.2.6
1.2.5
1.2.4
1.2.3
1.2.2
1.2.1
1.2.0
1.1.2
1.1.1
1.1.0
1.0.3
1.0.2
1.0.1
1.0.0
0.10.0
0.9.2
0.9.1
0.9.0
0.8.6
0.8.5
0.8.4
0.8.3
0.8.2
0.8.1
0.8.0
0.7.1
0.7.0
0.6.8
0.6.7
0.6.6
0.6.5
0.6.4
0.6.3
0.6.2
0.6.1
0.6.0
0.5.1
0.5.0
0.4.0
0.3.2
0.3.1
0.3.0
0.2.0
0.1.3
0.1.2
0.1.0
The browser package manager
bower.io
bower
/
lib
/
node_modules
/
mout
/
src
/
string
/
pascalCase.js
12 lines
(10 loc)
•
310 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
define
([
'../lang/toString'
,
'./camelCase'
,
'./upperCase'
],
function
(
toString, camelCase, upperCase
){
/** * camelCase + UPPERCASE first char */
function
pascalCase
(
str
){ str =
toString
(str);
return
camelCase
(str).
replace
(
/^[a-z]/
, upperCase); }
return
pascalCase; });